From ac24fc9ce3940c493e2893b09ccba153ef9585fc Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 3 Feb 2021 21:58:30 +0100 Subject: [PATCH] web: add javascript mode to codemirror --- web/src/elements/CodeMirror.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/elements/CodeMirror.ts b/web/src/elements/CodeMirror.ts index b47ad3416..ac80312f3 100644 --- a/web/src/elements/CodeMirror.ts +++ b/web/src/elements/CodeMirror.ts @@ -5,6 +5,7 @@ import CodeMirror from "codemirror"; import "codemirror/addon/display/autorefresh"; import "codemirror/mode/xml/xml.js"; import "codemirror/mode/yaml/yaml.js"; +import "codemirror/mode/javascript/javascript.js"; import "codemirror/mode/python/python.js"; @customElement("ak-codemirror")