Trigger linting for CodeMirror editor

This commit is contained in:
BoykoAlex
2020-11-02 12:21:08 -05:00
parent 5e0230e54c
commit 489d6ab1a8

View File

@@ -86,6 +86,11 @@ export class DslEditorComponent implements OnInit {
}
}
triggerLinting() {
this.doc.setOption('lint', {});
this.doc.setOption('lint', this._lint);
}
ngOnInit() {
let options: CodeMirror.EditorConfiguration = {