X7ROOT File Manager
Current Path:
/home/cbholdings/moodledata/localcache/editor_tiny/1736788869
home
/
cbholdings
/
moodledata
/
localcache
/
editor_tiny
/
1736788869
/
📁
..
📄
004ccfeb1397dc374f840d760378016ff33503a9
(16.23 KB)
📄
0615a24be1466282ca7a0bb032b81ec85f7a9986
(65.83 KB)
📄
0ec0f1b25675a36c092886ac78881af0a855d93a
(6.04 KB)
📄
18244bbb798422181237ad737eec46e65bf585bb
(3.41 KB)
📄
1dea9911b3637b05c98e16774447b1087466e3d6
(34.59 KB)
📄
220822ceb0c129a58d3870b6f386c7412ce46d6c
(3.18 KB)
📄
24acf750a7063fbedc2477e4c46718ac959904a3
(11.88 KB)
📄
255ef86642c192007f651defd1d491e806eb8092
(63.12 KB)
📄
36cfb027b7a72169e93531ad898abbd668843d5f
(25.04 KB)
📄
39ccbaa19d8b0ca60b014843af7acaa2d936f068
(114.21 KB)
📄
561cc65ae9bb5e889e2c92737875b66f6b447d7a
(37.61 KB)
📄
578541484acbf2b2bc7fdf3101c266c2b3bc0663
(12.91 KB)
📄
582af4ce8a79bf146d1312ff5107e9cb0f691e85
(2.83 KB)
📄
5a10037d4b3417bc4ab9cdcc21af60f1aa3c7070
(20.33 KB)
📄
5d98794b39d24dec5dbd5d6e3f312de99b3424a8
(1.85 KB)
📄
6001aba77617ac40868e34f5f0c7f48ef68803a0
(22.82 KB)
📄
677963f6fec949b547aceec8e8699011742f1d1e
(283.74 KB)
📄
9672dcf8ee0678d38be5b9eee1625a8fb686d627
(91.52 KB)
📄
9834a89ffbad0674198dbaab931ae25ffe3b7bd8
(5.73 KB)
📄
b2546f5d2fb79028007a6cd5be6958c9167e367b
(1.06 MB)
📄
d711f675b104840730ea80026864651c12fc8fc4
(63.23 KB)
📄
d779acda61043f64b7d26f16fc8ad5fa58ddb8a6
(3.25 KB)
📄
e42644b9d668eb58c510903594be4766c53e14e4
(34.51 KB)
📄
ef6c4946df28823b60295e25a9577e6160b0374b
(989.45 KB)
📄
f31ba4544458db79031fd56a49b296a27bb737eb
(14.22 KB)
📄
f9ab53b95349374805512e71914a81db180f107b
(182.54 KB)
📁
lang
Editing: 9834a89ffbad0674198dbaab931ae25ffe3b7bd8
/** * TinyMCE version 6.3.2 (2023-02-22) */ (function () { 'use strict'; var global$2 = tinymce.util.Tools.resolve('tinymce.PluginManager'); var global$1 = tinymce.util.Tools.resolve('tinymce.dom.RangeUtils'); var global = tinymce.util.Tools.resolve('tinymce.util.Tools'); const option = name => editor => editor.options.get(name); const register$2 = editor => { const registerOption = editor.options.register; registerOption('allow_html_in_named_anchor', { processor: 'boolean', default: false }); }; const allowHtmlInNamedAnchor = option('allow_html_in_named_anchor'); const namedAnchorSelector = 'a:not([href])'; const isEmptyString = str => !str; const getIdFromAnchor = elm => { const id = elm.getAttribute('id') || elm.getAttribute('name'); return id || ''; }; const isAnchor = elm => elm.nodeName.toLowerCase() === 'a'; const isNamedAnchor = elm => isAnchor(elm) && !elm.getAttribute('href') && getIdFromAnchor(elm) !== ''; const isEmptyNamedAnchor = elm => isNamedAnchor(elm) && !elm.firstChild; const removeEmptyNamedAnchorsInSelection = editor => { const dom = editor.dom; global$1(dom).walk(editor.selection.getRng(), nodes => { global.each(nodes, node => { if (isEmptyNamedAnchor(node)) { dom.remove(node, false); } }); }); }; const isValidId = id => /^[A-Za-z][A-Za-z0-9\-:._]*$/.test(id); const getNamedAnchor = editor => editor.dom.getParent(editor.selection.getStart(), namedAnchorSelector); const getId = editor => { const anchor = getNamedAnchor(editor); if (anchor) { return getIdFromAnchor(anchor); } else { return ''; } }; const createAnchor = (editor, id) => { editor.undoManager.transact(() => { if (!allowHtmlInNamedAnchor(editor)) { editor.selection.collapse(true); } if (editor.selection.isCollapsed()) { editor.insertContent(editor.dom.createHTML('a', { id })); } else { removeEmptyNamedAnchorsInSelection(editor); editor.formatter.remove('namedAnchor', undefined, undefined, true); editor.formatter.apply('namedAnchor', { value: id }); editor.addVisual(); } }); }; const updateAnchor = (editor, id, anchorElement) => { anchorElement.removeAttribute('name'); anchorElement.id = id; editor.addVisual(); editor.undoManager.add(); }; const insert = (editor, id) => { const anchor = getNamedAnchor(editor); if (anchor) { updateAnchor(editor, id, anchor); } else { createAnchor(editor, id); } editor.focus(); }; const insertAnchor = (editor, newId) => { if (!isValidId(newId)) { editor.windowManager.alert('ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.'); return false; } else { insert(editor, newId); return true; } }; const open = editor => { const currentId = getId(editor); editor.windowManager.open({ title: 'Anchor', size: 'normal', body: { type: 'panel', items: [{ name: 'id', type: 'input', label: 'ID', placeholder: 'example' }] }, buttons: [ { type: 'cancel', name: 'cancel', text: 'Cancel' }, { type: 'submit', name: 'save', text: 'Save', primary: true } ], initialData: { id: currentId }, onSubmit: api => { if (insertAnchor(editor, api.getData().id)) { api.close(); } } }); }; const register$1 = editor => { editor.addCommand('mceAnchor', () => { open(editor); }); }; const isNamedAnchorNode = node => isEmptyString(node.attr('href')) && !isEmptyString(node.attr('id') || node.attr('name')); const isEmptyNamedAnchorNode = node => isNamedAnchorNode(node) && !node.firstChild; const setContentEditable = state => nodes => { for (let i = 0; i < nodes.length; i++) { const node = nodes[i]; if (isEmptyNamedAnchorNode(node)) { node.attr('contenteditable', state); } } }; const setup = editor => { editor.on('PreInit', () => { editor.parser.addNodeFilter('a', setContentEditable('false')); editor.serializer.addNodeFilter('a', setContentEditable(null)); }); }; const registerFormats = editor => { editor.formatter.register('namedAnchor', { inline: 'a', selector: namedAnchorSelector, remove: 'all', split: true, deep: true, attributes: { id: '%value' }, onmatch: (node, _fmt, _itemName) => { return isNamedAnchor(node); } }); }; const register = editor => { const onAction = () => editor.execCommand('mceAnchor'); editor.ui.registry.addToggleButton('anchor', { icon: 'bookmark', tooltip: 'Anchor', onAction, onSetup: buttonApi => editor.selection.selectorChangedWithUnbind('a:not([href])', buttonApi.setActive).unbind }); editor.ui.registry.addMenuItem('anchor', { icon: 'bookmark', text: 'Anchor...', onAction }); }; var Plugin = () => { global$2.add('anchor', editor => { register$2(editor); setup(editor); register$1(editor); register(editor); editor.on('PreInit', () => { registerFormats(editor); }); }); }; Plugin(); })();
Upload File
Create Folder