REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.85 KB
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/tinymce/plugins/code/plugin.js
Text
Base64
/** * TinyMCE version 6.8.6 (TBD) */ (function () { 'use strict'; var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); const setContent = (editor, html) => { editor.focus(); editor.undoManager.transact(() => { editor.setContent(html); }); editor.selection.setCursorLocation(); editor.nodeChanged(); }; const getContent = editor => { return editor.getContent({ source_view: true }); }; const open = editor => { const 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: api => { setContent(editor, api.getData().code); api.close(); } }); }; const register$1 = editor => { editor.addCommand('mceCodeEditor', () => { open(editor); }); }; const register = editor => { const onAction = () => editor.execCommand('mceCodeEditor'); editor.ui.registry.addButton('code', { icon: 'sourcecode', tooltip: 'Source code', onAction }); editor.ui.registry.addMenuItem('code', { icon: 'sourcecode', text: 'Source code', onAction }); }; var Plugin = () => { global.add('code', editor => { register$1(editor); register(editor); return {}; }); }; Plugin(); })();
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.js
196 B
lrw-r--r--
2026-02-28 00:30:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
plugin.js
1.85 KB
lrw-r--r--
2026-02-28 00:30:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
plugin.min.js
871 B
lrw-r--r--
2026-02-28 00:31:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).