CoreFiles by mySites.guru
plugin.min.js4 lines, 877 bytes, from Joomla_5.1.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.0.0-beta3
md5
8fb0084def60c73f00a8ef3613c0b9cb
sha1
3ac96e08ec104f5c02622e94f6d2b27f6342dfc7
sha256
0ce5086a1c19f19185dc0d5bbf8d162c3e0aa86243d7454d6cf73a3deb3531db
/**
 * TinyMCE version 6.8.3 (2024-02-08)
 */
!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("code",(e=>((e=>{e.addCommand("mceCodeEditor",(()=>{(e=>{const o=(e=>e.getContent({source_view:!0}))(e);e.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:o},onSubmit:o=>{((e,o)=>{e.focus(),e.undoManager.transact((()=>{e.setContent(o)})),e.selection.setCursorLocation(),e.nodeChanged()})(e,o.getData().code),o.close()}})})(e)}))})(e),(e=>{const o=()=>e.execCommand("mceCodeEditor");e.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:o}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:o})})(e),{})))}();

The same content is in 13 releases, Joomla 5.1.0-beta1 to 5.2.0-alpha3. See them all, or every version of this file.