Monaco even more updates
This commit is contained in:
@@ -554,12 +554,11 @@ export default {
|
||||
await fetchReportData(vm);
|
||||
//---------------
|
||||
//setup the editor and models
|
||||
//https://github.com/microsoft/monaco-editor/issues/2147
|
||||
monaco.languages.typescript.javascriptDefaults.setDiagnosticsOptions({
|
||||
noSemanticValidation: false,
|
||||
noSyntaxValidation: false,
|
||||
noSuggestionDiagnostics: false,
|
||||
diagnosticCodesToIgnore: [2393]
|
||||
diagnosticCodesToIgnore: [2393] //this hides a weird error about ayPrepareData being declared more than once which I think is more related to it being barebones in there
|
||||
});
|
||||
monaco.languages.typescript.javascriptDefaults.setCompilerOptions({
|
||||
target: monaco.languages.typescript.ScriptTarget.ES6,
|
||||
@@ -578,7 +577,7 @@ export default {
|
||||
"filename/facts.d.ts"
|
||||
);
|
||||
|
||||
//Created editor models for each type of report element that can be edited
|
||||
//Create editor models for each type of report element that can be edited
|
||||
|
||||
vm.editData.template.model = monaco.editor.createModel(
|
||||
vm.obj.template,
|
||||
|
||||
Reference in New Issue
Block a user