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).