From d06fbc5a439562cbd7f918d15bf8981dcdf6fd2e Mon Sep 17 00:00:00 2001 From: BoykoAlex Date: Tue, 29 Aug 2017 19:15:25 -0400 Subject: [PATCH] Add code mirror styles for addons --- src/lib/src/dsl-editor/dsl.editor.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/src/dsl-editor/dsl.editor.component.ts b/src/lib/src/dsl-editor/dsl.editor.component.ts index 740f349..a5e36b1 100644 --- a/src/lib/src/dsl-editor/dsl.editor.component.ts +++ b/src/lib/src/dsl-editor/dsl.editor.component.ts @@ -15,7 +15,11 @@ import 'codemirror/addon/scroll/simplescrollbars'; @Component({ selector: 'dsl-editor', templateUrl: './dsl.editor.component.html', - styleUrls: ['./../../../../node_modules/codemirror/lib/codemirror.css', './dsl.editor.component.css', ], + styleUrls: [ + './../../../../node_modules/codemirror/lib/codemirror.css', + './../../../../node_modules/codemirror/lib/addon/hint/show-hint.css', + './../../../../node_modules/codemirror/lib/addon/lint/lint.css', + './dsl.editor.component.css', ], encapsulation: ViewEncapsulation.None }) export class DslEditorComponent implements OnInit, OnDestroy {