web/elements: re-enable codemirror line numbers (fixed on firefox)
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
47b1f025e1
commit
4c166dcf52
|
@ -107,7 +107,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: false, // Line Numbers seem to be broken on firefox?
|
lineNumbers: true,
|
||||||
readOnly: this.readOnly,
|
readOnly: this.readOnly,
|
||||||
autoRefresh: true,
|
autoRefresh: true,
|
||||||
lineWrapping: true,
|
lineWrapping: true,
|
||||||
|
|
Reference in New Issue