From ef3c543620f853095b4c72bb1b61403b80c6fa79 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Sat, 26 Aug 2017 12:52:32 +0300 Subject: [PATCH] ace: fix directive docs --- public/app/core/components/code_editor/code_editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/code_editor/code_editor.ts b/public/app/core/components/code_editor/code_editor.ts index 1da6756b921..ef4dde50a7c 100644 --- a/public/app/core/components/code_editor/code_editor.ts +++ b/public/app/core/components/code_editor/code_editor.ts @@ -14,7 +14,7 @@ * see Prometheus Data Source implementation for details. * * Some Ace editor options available via data-* attributes: - * data-lang-mode - Language mode (text, sql, javascript, etc.). Default is 'text'. + * data-mode - Language mode (text, sql, javascript, etc.). Default is 'text'. * data-theme - Editor theme (eg 'solarized_dark'). * data-max-lines - Max editor height in lines. Editor grows automatically from 1 to maxLines. * data-show-gutter - Show gutter (contains line numbers and additional info).