From 6b5400bdb6b85a141d44bb328600b823f598ae26 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Thu, 10 Aug 2017 11:23:32 +0300 Subject: [PATCH] ace: fix loading text snippets error --- public/app/core/components/code_editor/code_editor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/app/core/components/code_editor/code_editor.ts b/public/app/core/components/code_editor/code_editor.ts index 18141877bda..9de2435bd84 100644 --- a/public/app/core/components/code_editor/code_editor.ts +++ b/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 = `
`;