web/elements: re-enable codemirror line numbers (fixed on firefox)

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-03 21:30:28 +01:00
parent 47b1f025e1
commit 4c166dcf52
1 changed files with 1 additions and 1 deletions

View File

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