From ef0eaafee012b1b041988dcdb21b1236e5bd6781 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 20 Mar 2019 13:20:33 +0530 Subject: Editor Component Changes Implemented code to highlight file o select. Issue-ID: CCSDK-1098 Change-Id: I1daa4d86b77ebb5de72f425b536ba64e18b04dfd Signed-off-by: Arundathi Patil --- .../blueprint/modify-template/editor/editor.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts') diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts index 7203dc8b3..e48177d0a 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts @@ -82,6 +82,7 @@ export class EditorComponent implements OnInit { fileExtension: string; mode: string; private zipFile: JSZip = new JSZip(); + activeNode: any; private transformer = (node: Node, level: number) => { return { @@ -143,7 +144,7 @@ export class EditorComponent implements OnInit { blueprint.push(this.blueprintdata[key]); } } - this.text = JSON.stringify(this.blueprintdata, null, '\t'); + // this.text = JSON.stringify(this.blueprintdata, null, '\t'); // this.editor.getEditor().getSession().setMode("ace/mode/json"); this.editor.getEditor().getSession().setTabSize(2); this.editor.getEditor().getSession().setUseWrapMode(true); -- cgit 1.2.3-korg