web/elements: disable lineNumbers in codemirror for firefox

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-09 18:57:34 +02:00
parent c887139367
commit 83bb3f8b0b
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,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,