mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
code-editor: disable depreacation warning
This commit is contained in:
parent
e4dabb657c
commit
ecb66e7678
@ -18,6 +18,7 @@ function link(scope, elem, attrs) {
|
||||
codeEditor.setTheme("ace/theme/solarized_dark");
|
||||
codeEditor.setHighlightActiveLine(false);
|
||||
codeEditor.setShowPrintMargin(false);
|
||||
codeEditor.$blockScrolling = Infinity;
|
||||
|
||||
codeEditor.setValue(scope.content);
|
||||
codeEditor.clearSelection();
|
||||
|
Loading…
Reference in New Issue
Block a user