text: !function(){"use strict";var i,e="esites_editor",t=window.wysiwygpage_content||window.wysiwygblock_content,n=t.config.plugins,o=tinymce.each;tinymce.PluginManager.requireLangPack(e),tinymce.create("tinymce.plugins.EsitesEditorPlugin",{defaults:{emmet:!1,theme:"default",codeFolding:!1},settings:{},init:function(t,d){i=this,i.editor=t,i.url=d,o(n,function(t){t.name===e&&(i.settings=tinymce.extend(i.defaults,t.config))}),i.editor.addCommand("mceEsitesEditor",i.showSourceEditor),i.editor.addButton(e,{image:i.url+"/img/icon-esites-editor.png",title:e+".editor_button",cmd:"mceEsitesEditor"})},showSourceEditor:function(){i.editor.windowManager.open({width:i.editor.getParam("code_dialog_width",900),height:i.editor.getParam("code_dialog_height",600),inline:!0,maximizable:!0,file:i.url+"/esites_editor.html"},{plugin_url:i.url})}}),tinymce.PluginManager.add("esites_editor",tinymce.plugins.EsitesEditorPlugin)}();