src/dynamicContent/dynamicContent.domcomponents.js
// open the dynamic content modal if the editor is added or double clicked
open the dynamic content modal if the editor is added or double clicked
open the dynamic content modal if the editor is added or double clicked
onActive() {
        const target = this.model;
        this.em.get('Commands').run('preset-mautic:dynamic-content-open', { target });
      }
onActive ( ) { const target = this . model ; this . em . get ( 'Commands' ) . run ( 'preset-mautic:dynamic-content-open' , { target } ) ; }
open the dynamic content modal if the editor is added or double clicked
open the dynamic content modal if the editor is added or double clicked
// open the editor in the popup