wp.customize.controlConstructor["wpbf-editor"]=wp.customize.wpbfDynamicControl.extend({initWpbfControl:function(t){let e=t||this,i=e.container.find("textarea"),n="wpbf-editor-"+e.id.replace("[","").replace("]","");wp.editor&&wp.editor.initialize&&wp.editor.initialize(n,jQuery.extend({},{tinymce:{wpautop:!0},quicktags:!0,mediaButtons:!0},{tinymce:e.params.tinymce,quicktags:e.params.quicktags}));let a=tinyMCE.get(n);a&&a.onChange.add(function(t){t.save();let n=a.getContent();i.val(n).trigger("change"),wp.customize.instance(e.id).set(n)})}});
