CoreFiles by mySites.guru
plugin.min.js1 lines, 1,294 bytes, from Joomla_5.0.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 4.4.0-alpha4
md5
23f070ab23341313ca13c1ebba70dce3
sha1
41ccda5fff2d4564f077885226b781cd9be84819
sha256
eff26186f3c88fa822af618c8c29797751aa6d7a951caf843303640c6c703b0d
window.tinymce.PluginManager.add("highlightPlus",((e,o)=>{const t=()=>{e.focus(),e.selection.collapse(!0),e.options.register("codemirror",{processor:"object",default:{codemirrorWidth:800,codemirrorHeight:550,fullscreen:!1,indentOnInit:!0,config:{mode:"htmlmixed",theme:"default",lineNumbers:!0,lineWrapping:!0,indentUnit:2,tabSize:2,indentWithTabs:!0,matchBrackets:!0,saveCursorPosition:!1,styleActiveLine:!0}}});const t=e.options.get("codemirror");t.config.saveCursorPosition&&e.selection.setContent('<span style="display: none;" class="CmCaReT">&#x0;</span>');const i={title:"Source code",url:`${o}/source.html`,width:t.width,height:t.height,resizable:!0,maximizable:!0,fullScreen:t.fullscreen,saveCursorPosition:!1,buttons:[{type:"custom",text:"Ok",name:"codemirrorOk",primary:!0},{type:"cancel",text:"Cancel",name:"codemirrorCancel"}],onAction:(o,t)=>{if("codemirrorOk"===t.name){document.querySelectorAll(".tox-dialog__body-iframe iframe")[0].contentWindow.tinymceHighlighterSubmit(),e.undoManager.add(),n.close()}}},n=e.windowManager.openUrl(i);t.fullscreen&&n.fullscreen(!0)};e.ui.registry.addButton("code",{icon:"sourcecode",title:"Source code+",tooltip:"Source code+",onAction:t}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code+",onAction:t,context:"tools"})}));

No other release has this exact content. See every version of this file.