fix
This commit is contained in:
parent
2b9191ed60
commit
6a54ce9664
|
|
@ -57,7 +57,7 @@ export const jscript = {
|
|||
|
||||
const e = await import("@monaco-editor/react");
|
||||
jscript.editor = e.Editor;
|
||||
e.loader.config({ paths: { vs: "/min/vs" } });
|
||||
e.loader.config({ paths: { vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.49.0/min/vs" } });
|
||||
this.events.editorLoaded();
|
||||
|
||||
if (enabled?.esbuild !== false) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue