CoreFiles by mySites.guru
plugin.min.js4 lines, 877 bytes, from Joomla_5.0.0-Stable-Full_Package.zip
Raw History Compare with 4.4.14
md5
d9c61fcfc4ec83bc5c10ea8b8a2d76bd
sha1
91e02ef0a27ead43231fe2f84ebb5d3f63f3cf08
sha256
d1b974a85e2eb48bbbaa27090a76839203185bb777b1a85eabf3ccf90a17ad34
/**
 * TinyMCE version 6.7.0 (2023-08-30)
 */
!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 6 releases, Joomla 5.0.0-beta1 to 5.0.0. See them all, or every version of this file.