diff --git a/resources/js/services/code.js b/resources/js/services/code.js index 5727cd2b7..361ccc3f1 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/vb/vb'; import 'codemirror/mode/vbscript/vbscript'; import 'codemirror/mode/xml/xml'; import 'codemirror/mode/yaml/yaml'; @@ -87,6 +88,8 @@ const modeMap = { sql: 'text/x-sql', vbs: 'vbscript', vbscript: 'vbscript', + 'vb.net': 'text/x-vb', + vbnet: 'text/x-vb', xml: 'xml', yaml: 'yaml', yml: 'yaml', diff --git a/resources/sass/_components.scss b/resources/sass/_components.scss index ab562006f..95ba81520 100644 --- a/resources/sass/_components.scss +++ b/resources/sass/_components.scss @@ -629,7 +629,7 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group { } .code-editor .lang-options { - max-width: 480px; + max-width: 540px; margin-bottom: $-s; a { margin-inline-end: $-xs; diff --git a/resources/views/components/code-editor.blade.php b/resources/views/components/code-editor.blade.php index 011840465..c593d0e23 100644 --- a/resources/views/components/code-editor.blade.php +++ b/resources/views/components/code-editor.blade.php @@ -35,6 +35,7 @@ Shell/Bash SQL VBScript + VB.NET XML YAML