]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/services/code.js
Commented APP_URL by default to prevent upgrade path issues
[bookstack] / resources / assets / js / services / code.js
index 03d87863c64d86325f827fc92f170e34094bd710..cfeabd3be0ce32aa84a5fe4ea6a74f3c38a3915e 100644 (file)
@@ -1,5 +1,5 @@
 import CodeMirror from "codemirror";
-import Clipboard from "clipboard";
+import Clipboard from "clipboard/dist/clipboard.min";
 
 // Modes
 import 'codemirror/mode/css/css';
@@ -52,7 +52,7 @@ const modeMap = {
     sh: 'shell',
     bash: 'shell',
     toml: 'toml',
-    sql: 'sql',
+    sql: 'text/x-sql',
     xml: 'xml',
     yaml: 'yaml',
     yml: 'yaml',