diff --git a/verify/angular/src/app/app.component.ts b/verify/angular/src/app/app.component.ts index 9fcca10b..8f95ab14 100644 --- a/verify/angular/src/app/app.component.ts +++ b/verify/angular/src/app/app.component.ts @@ -18,9 +18,9 @@ export class MonacoEditorComponent implements AfterViewInit { async ngAfterViewInit(): Promise { const wrapper = new MonacoEditorLanguageClientWrapper(); - + const htmlElement = document.getElementById('monaco-editor-root'); try { - await wrapper.initAndStart(jsonClientUserConfig); + await wrapper.initAndStart(jsonClientUserConfig , htmlElement ); } catch (e) { console.error(e); }