Browse Source

ace: fix directive docs

Alexander Zobnin 8 years ago
parent
commit
ef3c543620
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/core/components/code_editor/code_editor.ts

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