Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
codemirror /
src /
edit /
Delete
Unzip
Name
Size
Permission
Date
Action
CodeMirror.js
8.42
KB
-rw-r--r--
2022-10-24 16:35
commands.js
7.33
KB
-rw-r--r--
2022-10-24 16:35
deleteNearSelection.js
1.03
KB
-rw-r--r--
2022-10-24 16:35
drop_events.js
5.01
KB
-rw-r--r--
2022-10-24 16:35
fromTextArea.js
1.94
KB
-rw-r--r--
2022-10-24 16:35
global_events.js
1.41
KB
-rw-r--r--
2022-10-24 16:35
key_events.js
5.38
KB
-rw-r--r--
2022-10-24 16:35
legacy.js
2.52
KB
-rw-r--r--
2022-10-24 16:35
main.js
2.02
KB
-rw-r--r--
2022-10-24 16:35
methods.js
21.72
KB
-rw-r--r--
2022-10-24 16:35
mouse_events.js
15.6
KB
-rw-r--r--
2022-10-24 16:35
options.js
7.06
KB
-rw-r--r--
2022-10-24 16:35
utils.js
270
B
-rw-r--r--
2022-10-24 16:35
Save
Rename
import { CodeMirror } from "./CodeMirror.js" import { activeElt } from "../util/dom.js" import { off, on } from "../util/event.js" import { copyObj } from "../util/misc.js" export function fromTextArea(textarea, options) { options = options ? copyObj(options) : {} options.value = textarea.value if (!options.tabindex && textarea.tabIndex) options.tabindex = textarea.tabIndex if (!options.placeholder && textarea.placeholder) options.placeholder = textarea.placeholder // Set autofocus to true if this textarea is focused, or if it has // autofocus and no other element is focused. if (options.autofocus == null) { let hasFocus = activeElt() options.autofocus = hasFocus == textarea || textarea.getAttribute("autofocus") != null && hasFocus == document.body } function save() {textarea.value = cm.getValue()} let realSubmit if (textarea.form) { on(textarea.form, "submit", save) // Deplorable hack to make the submit method do the right thing. if (!options.leaveSubmitMethodAlone) { let form = textarea.form realSubmit = form.submit try { let wrappedSubmit = form.submit = () => { save() form.submit = realSubmit form.submit() form.submit = wrappedSubmit } } catch(e) {} } } options.finishInit = cm => { cm.save = save cm.getTextArea = () => textarea cm.toTextArea = () => { cm.toTextArea = isNaN // Prevent this from being ran twice save() textarea.parentNode.removeChild(cm.getWrapperElement()) textarea.style.display = "" if (textarea.form) { off(textarea.form, "submit", save) if (!options.leaveSubmitMethodAlone && typeof textarea.form.submit == "function") textarea.form.submit = realSubmit } } } textarea.style.display = "none" let cm = CodeMirror(node => textarea.parentNode.insertBefore(node, textarea.nextSibling), options) return cm }