File manager - Edit - /home/opticamezl/www/newok/preview.tar
Back
plugin.min.js.gz 0000644 00000002113 15173362231 0007601 0 ustar 00 � �T�n7��+�9X�ESq��e8NZq#q i�ܑĖK �dUѿ\I���A.����=������1���Ur�1n�qa�n��B�q�0Kv�b��Yi��*�W�b�X�6Ԙ͐]�z}�bb���4��3��-��%�-(#� �s�#���'Zb)Fb����̅IL�!�=�5r�;#��j0X.��\X)�c[XW�o����b����3�O�<�������8`ǃ��Il�b mF�)9K0\��P�Ƣj�yu��*a�~���k�N]xm��b!'?��2,@��a����2u�a�p�p � �r� i�?c��uBjS`���Elj������Q����A���H��?����N��c�0�X�DMj�tm�i8�}δ�@Biv�����nMF6K8���;^�l�`��&�w���ûK.D��^7�������)�<<�p�G@���M1��� &İjb��W� ��qR;�����nwI��_�Vs�@xG�3��^CWW�!|� ��9���cWJ��0���xt�;���[�q��} ��D� #����Zz�ȕ>9�Zs���$��6֫Ϯ�wՃ��B�wo'4�3[�y���|�03yB|L�՟�|ɲ��6��Zor�z��h6���^�V��J�E�MnN�}���_.0Е˄;:b��`���d���e���a��"��H��=��F�M�@ob]�܄�rb�oL�Lk���y��'�1�P5H���T������x*�!�Uy��NL뉋�f��lb|F1�1��@N���y�W\��%9�ӳ�]ںp���|� `t�������/ٌ?�~��c�~o4�����,��º��!Nv�CD������bᢿ(�-��h����B�Z�P��n��8����c�[(���_f��T��>*����#lr�qLS�i[��$� �lB}ﰮ�l>m�mKCI�� ��mI��A�X��c�\cҪ˗.8rƿ0d��N���F�I�m�;��SY��S �.SZ;>��,�1<�}���Ab8�Z����-�k�%a�=ʮ�G�6b���^�0 plugin.min.js 0000644 00000004060 15173362231 0007165 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 e=tinymce.util.Tools.resolve("tinymce.PluginManager"),f=tinymce.util.Tools.resolve("tinymce.Env"),w=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("preview",function(e){var n,t;function i(){return t.execCommand("mcePreview")}(n=e).addCommand("mcePreview",function(){var e,t;t=function(t){var n="",i=t.dom.encode,e=t.getParam("content_style","","string");n+='<base href="'+i(t.documentBaseURI.getURI())+'">';var o=t.getParam("content_css_cors",!1,"boolean")?' crossorigin="anonymous"':"";w.each(t.contentCSS,function(e){n+='<link type="text/css" rel="stylesheet" href="'+i(t.documentBaseURI.toAbsolute(e))+'"'+o+">"}),e&&(n+='<style type="text/css">'+e+"</style>");var a,r,s,c,d,l,m,y=-1===(c=(a=t).getParam("body_id","tinymce","string")).indexOf("=")?c:(s=(r=a).getParam("body_id","","hash"))[r.id]||s,u=-1===(m=(d=t).getParam("body_class","","string")).indexOf("=")?m:(l=d).getParam("body_class","","hash")[l.id]||"",v='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+(f.mac?"e.metaKey":"e.ctrlKey && !e.altKey")+")) {e.preventDefault();}}}, false);<\/script> ",g=t.getBody().dir,p=g?' dir="'+i(g)+'"':"";return"<!DOCTYPE html><html><head>"+n+'</head><body id="'+i(y)+'" class="mce-content-body '+i(u)+'"'+p+">"+t.getContent()+v+"</body></html>"}(e=n),e.windowManager.open({title:"Preview",size:"large",body:{type:"panel",items:[{name:"preview",type:"iframe",sandboxed:!0}]},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{preview:t}}).focus("close")}),(t=e).ui.registry.addButton("preview",{icon:"preview",tooltip:"Preview",onAction:i}),t.ui.registry.addMenuItem("preview",{icon:"preview",text:"Preview",onAction:i})})}(); plugin.js 0000644 00000010520 15173362231 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$2 = tinymce.util.Tools.resolve('tinymce.PluginManager'); var global$1 = tinymce.util.Tools.resolve('tinymce.Env'); var global = tinymce.util.Tools.resolve('tinymce.util.Tools'); var getContentStyle = function (editor) { return editor.getParam('content_style', '', 'string'); }; var shouldUseContentCssCors = function (editor) { return editor.getParam('content_css_cors', false, 'boolean'); }; var getBodyClassByHash = function (editor) { var bodyClass = editor.getParam('body_class', '', 'hash'); return bodyClass[editor.id] || ''; }; var getBodyClass = function (editor) { var bodyClass = editor.getParam('body_class', '', 'string'); if (bodyClass.indexOf('=') === -1) { return bodyClass; } else { return getBodyClassByHash(editor); } }; var getBodyIdByHash = function (editor) { var bodyId = editor.getParam('body_id', '', 'hash'); return bodyId[editor.id] || bodyId; }; var getBodyId = function (editor) { var bodyId = editor.getParam('body_id', 'tinymce', 'string'); if (bodyId.indexOf('=') === -1) { return bodyId; } else { return getBodyIdByHash(editor); } }; var getPreviewHtml = function (editor) { var headHtml = ''; var encode = editor.dom.encode; var contentStyle = getContentStyle(editor); headHtml += '<base href="' + encode(editor.documentBaseURI.getURI()) + '">'; var cors = shouldUseContentCssCors(editor) ? ' crossorigin="anonymous"' : ''; global.each(editor.contentCSS, function (url) { headHtml += '<link type="text/css" rel="stylesheet" href="' + encode(editor.documentBaseURI.toAbsolute(url)) + '"' + cors + '>'; }); if (contentStyle) { headHtml += '<style type="text/css">' + contentStyle + '</style>'; } var bodyId = getBodyId(editor); var bodyClass = getBodyClass(editor); var isMetaKeyPressed = global$1.mac ? 'e.metaKey' : 'e.ctrlKey && !e.altKey'; var preventClicksOnLinksScript = '<script>' + 'document.addEventListener && document.addEventListener("click", function(e) {' + 'for (var elm = e.target; elm; elm = elm.parentNode) {' + 'if (elm.nodeName === "A" && !(' + isMetaKeyPressed + ')) {' + 'e.preventDefault();' + '}' + '}' + '}, false);' + '</script> '; var directionality = editor.getBody().dir; var dirAttr = directionality ? ' dir="' + encode(directionality) + '"' : ''; var previewHtml = '<!DOCTYPE html>' + '<html>' + '<head>' + headHtml + '</head>' + '<body id="' + encode(bodyId) + '" class="mce-content-body ' + encode(bodyClass) + '"' + dirAttr + '>' + editor.getContent() + preventClicksOnLinksScript + '</body>' + '</html>'; return previewHtml; }; var open = function (editor) { var content = getPreviewHtml(editor); var dataApi = editor.windowManager.open({ title: 'Preview', size: 'large', body: { type: 'panel', items: [{ name: 'preview', type: 'iframe', sandboxed: true }] }, buttons: [{ type: 'cancel', name: 'close', text: 'Close', primary: true }], initialData: { preview: content } }); dataApi.focus('close'); }; var register$1 = function (editor) { editor.addCommand('mcePreview', function () { open(editor); }); }; var register = function (editor) { var onAction = function () { return editor.execCommand('mcePreview'); }; editor.ui.registry.addButton('preview', { icon: 'preview', tooltip: 'Preview', onAction: onAction }); editor.ui.registry.addMenuItem('preview', { icon: 'preview', text: 'Preview', onAction: onAction }); }; function Plugin () { global$2.add('preview', function (editor) { register$1(editor); register(editor); }); } Plugin(); }()); index.js 0000644 00000000315 15173362231 0006213 0 ustar 00 // Exports the "preview" plugin for usage with module loaders // Usage: // CommonJS: // require('tinymce/plugins/preview') // ES2015: // import 'tinymce/plugins/preview' require('./plugin.js');
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings