feat: replace textarea with CodeMirror 6 editor

This commit is contained in:
2026-03-04 15:38:33 +05:30
parent 47f3b7557e
commit 233225f12c
4 changed files with 234 additions and 297 deletions
+14
View File
@@ -290,6 +290,20 @@ body {
/* Color controlled by theme */
}
/* CodeMirror container */
.codemirror-container {
height: 100%;
overflow: auto;
}
.codemirror-container .cm-editor {
height: 100%;
font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
font-size: 14px;
}
.codemirror-container .cm-scroller {
overflow: auto;
}
.pane:last-child {
padding: 0;
/* Background controlled by theme */