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

View file

@ -98,7 +98,7 @@ export class CodeMirrorTextarea extends LitElement {
this.editor = CodeMirror.fromTextArea(textarea, { this.editor = CodeMirror.fromTextArea(textarea, {
mode: this.mode, mode: this.mode,
theme: "monokai", theme: "monokai",
lineNumbers: true, lineNumbers: false, // Line Numbers seem to be broken on firefox?
readOnly: this.readOnly, readOnly: this.readOnly,
autoRefresh: true, autoRefresh: true,
lineWrapping: true, lineWrapping: true,