core/api/soft/CodeMirror/css.php

14 lines
425 B
PHP
Raw Permalink Normal View History

2023-07-12 20:02:20 +05:00
/*var editor = CodeMirror.fromTextArea(document.getElementById("<?=$_GET['el'];?>"), {
lineNumbers: true,
theme: 'dracula',
mode: "css"
});
*/
var editor = CodeMirror.fromTextArea(document.getElementById("<?=$_GET['el'];?>"), {
extraKeys: {"Ctrl-Space": "autocomplete"},
lineNumbers: true,
theme: 'dracula',
autoCloseBrackets: true,
mode: "css"
});