CoreFiles by mySites.guru
plugin.min.js9 lines, 1,132 bytes, from Joomla_4.1.1-rc1-Release_Candidate-Full_Package.zip
Raw History Compare with 4.1.0-rc4
md5
9b57a0761c25d02cea64da223a44fd2b
sha1
03c53c1264de7d61361355cfbca939082f71ca04
sha256
5de5e5e9290018b058340c0137c360e644eb80b53110cee7b5c32188e8387d4a
/**
 * Copyright (c) Tiny Technologies, Inc. All rights reserved.
 * Licensed under the LGPL or a commercial license.
 * For LGPL see License.txt in the project root for license information.
 * For commercial licenses see https://www.tiny.cloud/
 *
 * Version: 5.10.3 (2022-02-09)
 */
!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("code",function(e){var t,o;function n(){return o.execCommand("mceCodeEditor")}return(t=e).addCommand("mceCodeEditor",function(){var n,e;e=(n=t).getContent({source_view:!0}),n.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:e},onSubmit:function(e){var t=n,o=e.getData().code;t.focus(),t.undoManager.transact(function(){t.setContent(o)}),t.selection.setCursorLocation(),t.nodeChanged(),e.close()}})}),(o=e).ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:n}),o.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:n}),{}})}();

The same content is in 15 releases, Joomla 4.1.1-rc1 to 4.2.0-beta1. See them all, or every version of this file.