CoreFiles by mySites.guru
plugin.min.js1 lines, 913 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
529895fc279cd3736c1cc1d829128b72
sha1
2a59c257e14e632cae51e0b05c2c4e5cbba24a3d
sha256
13e06d6176536c9dd45ab17c68e6555c0df9f97eeb6851ce213d358b2db0c185
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t="code";e.add(t,e=>((e=>{e.addCommand("mceCodeEditor",()=>{(e=>{const t=(e=>e.getContent({source_view:!0}))(e);e.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code",spellcheck:!1}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:t},onSubmit:t=>{((e,t)=>{e.focus(),e.undoManager.transact(()=>{e.setContent(t)}),e.selection.setCursorLocation(),e.nodeChanged()})(e,t.getData().code),t.close()}})})(e)})})(e),(e=>{const t=()=>e.execCommand("mceCodeEditor");e.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:t}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:t})})(e),{getMetadata:()=>({name:"Code",type:"opensource",slug:t})}))}();

The same content is in 6 releases, Joomla 6.2.0-beta3 to 6.2.1. See them all, or every version of this file.