File manager - Edit - /home/opticamezl/www/newok/code.tar
Back
index.js 0000644 00000000304 15173226170 0006212 0 ustar 00 // Exports the "code" plugin for usage with module loaders // Usage: // CommonJS: // require('tinymce/plugins/code') // ES2015: // import 'tinymce/plugins/code' require('./plugin.js'); plugin.min.js 0000644 00000002154 15173226170 0007170 0 ustar 00 /** * 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.9 (2023-11-15) */ !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}),{}})}(); plugin.js 0000644 00000004300 15173226170 0006401 0 ustar 00 /** * 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.9 (2023-11-15) */ (function () { 'use strict'; var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); var setContent = function (editor, html) { editor.focus(); editor.undoManager.transact(function () { editor.setContent(html); }); editor.selection.setCursorLocation(); editor.nodeChanged(); }; var getContent = function (editor) { return editor.getContent({ source_view: true }); }; var open = function (editor) { var editorContent = getContent(editor); editor.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: true } ], initialData: { code: editorContent }, onSubmit: function (api) { setContent(editor, api.getData().code); api.close(); } }); }; var register$1 = function (editor) { editor.addCommand('mceCodeEditor', function () { open(editor); }); }; var register = function (editor) { var onAction = function () { return editor.execCommand('mceCodeEditor'); }; editor.ui.registry.addButton('code', { icon: 'sourcecode', tooltip: 'Source code', onAction: onAction }); editor.ui.registry.addMenuItem('code', { icon: 'sourcecode', text: 'Source code', onAction: onAction }); }; function Plugin () { global.add('code', function (editor) { register$1(editor); register(editor); return {}; }); } Plugin(); }()); plugin.min.js.gz 0000644 00000001165 15173226170 0007610 0 ustar 00 � }RMo�0��W�:Ɂ�4z����R�@�]�bPe��`��D'���Av���D��H>r6�N�T��9_nY(���� n�TQ�!jq�Έ�=*� � ��k� #����-������ �pT�����\�Ja E�Q��3��@�8��ņ�H7j˞�E�����271����a��*j��D�C�=a.���|�����|~>��&b:��mZt��ʎ�� "�X.�V��+�@TE R�%��]Ֆo-��̌- % ��,dǝ �5-ƘH�pP��gp+�k�������LAf݀R��^��~3D*��T��̔�+Bdu��?w���E�i4{��O#j Ց=W��-V�<��\V6� ���ȇr�X�Jj�P��)���6��m ��I��駖���,�D?�N�D��j�u����S�y�F��y߿��ki�G�ѳ��g�6?��9t������5-!��*3��`�!�F�i6-4��b������W�)�'B}�ϵ!RX��C�A*`��XB�2 �t#���]QZz�M��G�t �z��#;zG��a�C��*����(�u�G�]��o�[����������Գ� wAy�l
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings