From 452bfb39bf23a355742204b5611ed92068dbb03d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 9 Jan 2022 22:24:01 +0100 Subject: [PATCH] Revert "web/elements: re-enable codemirror line numbers (fixed on firefox)" This reverts commit 4c166dcf5247b2ba7e9eb3b2d9f5a8890f304f9b. closes #2081 Signed-off-by: Jens Langhammer --- web/src/elements/CodeMirror.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/elements/CodeMirror.ts b/web/src/elements/CodeMirror.ts index 97f2c7501..633b2e8aa 100644 --- a/web/src/elements/CodeMirror.ts +++ b/web/src/elements/CodeMirror.ts @@ -107,7 +107,7 @@ export class CodeMirrorTextarea extends LitElement { this.editor = CodeMirror.fromTextArea(textarea, { mode: this.mode, theme: "monokai", - lineNumbers: true, + lineNumbers: false, // Line Numbers seem to be broken on firefox? readOnly: this.readOnly, autoRefresh: true, lineWrapping: true,