Revert "Upgrade Monaco Editor (#847)" (#850)

This reverts commit 5e2b8d7df0.
This commit is contained in:
Steve Faulkner
2021-05-28 15:49:29 -05:00
committed by GitHub
parent b875407d49
commit 04b3ef051a
5 changed files with 12 additions and 35 deletions

View File

@@ -90,7 +90,7 @@ export class JsonEditorViewModel extends WaitsForTemplateViewModel {
protected async createEditor(content: string, createCallback: (e: monaco.editor.IStandaloneCodeEditor) => void) {
this.registerCompletionItemProvider();
this.editorContainer = document.getElementById(this.getEditorId());
const options = {
const options: monaco.editor.IEditorConstructionOptions = {
value: content,
language: this.getEditorLanguage(),
readOnly: this.params.isReadOnly,