From 521a002001eeddc63e98fc3ec71abfd6f792f47f Mon Sep 17 00:00:00 2001 From: nutsflag <26460023+nutsflag@users.noreply.github.com> Date: Fri, 2 Oct 2020 15:13:31 +0200 Subject: [PATCH 1/2] Update code-editor.blade.php --- resources/views/components/code-editor.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/components/code-editor.blade.php b/resources/views/components/code-editor.blade.php index 6822bb28d..011840465 100644 --- a/resources/views/components/code-editor.blade.php +++ b/resources/views/components/code-editor.blade.php @@ -34,6 +34,7 @@ Ruby Shell/Bash SQL + VBScript XML YAML @@ -66,4 +67,4 @@ - \ No newline at end of file + From 467176ee78c2874881e4fefdd6bdafa022180a18 Mon Sep 17 00:00:00 2001 From: nutsflag <26460023+nutsflag@users.noreply.github.com> Date: Fri, 2 Oct 2020 15:14:29 +0200 Subject: [PATCH 2/2] Update code.js --- resources/js/services/code.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/js/services/code.js b/resources/js/services/code.js index a7dfa587f..7d49c50f6 100644 --- a/resources/js/services/code.js +++ b/resources/js/services/code.js @@ -26,6 +26,7 @@ import 'codemirror/mode/rust/rust'; import 'codemirror/mode/shell/shell'; import 'codemirror/mode/sql/sql'; import 'codemirror/mode/toml/toml'; +import 'codemirror/mode/vbscript/vbscript'; import 'codemirror/mode/xml/xml'; import 'codemirror/mode/yaml/yaml'; @@ -84,6 +85,7 @@ const modeMap = { bash: 'shell', toml: 'toml', sql: 'text/x-sql', + vbscript: 'vbscript', xml: 'xml', yaml: 'yaml', yml: 'yaml',