Sfoglia il codice sorgente

ace: fix loading text snippets error

Alexander Zobnin 8 anni fa
parent
commit
6b5400bdb6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      public/app/core/components/code_editor/code_editor.ts

+ 2 - 0
public/app/core/components/code_editor/code_editor.ts

@@ -55,6 +55,8 @@ function setModuleUrl(moduleType, name) {
 }
 
 setModuleUrl("ext", "language_tools");
+setModuleUrl("mode", "text");
+setModuleUrl("snippets", "text");
 
 let editorTemplate = `<div></div>`;