From 75df695e47e9da6217f1e297535ab478a5226d57 Mon Sep 17 00:00:00 2001 From: Rick Cao Date: Wed, 15 May 2024 14:50:39 +0800 Subject: [PATCH] chore: upgrade manoca editor loader version * fix: upgrade manoca editor loader version Due to manoca-editor is 0.38.0, so upgrade loader version * fix: update paths version --- src/utils/initEditor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/initEditor.ts b/src/utils/initEditor.ts index 49f5c37..038b247 100644 --- a/src/utils/initEditor.ts +++ b/src/utils/initEditor.ts @@ -174,11 +174,11 @@ export const startUp = () => { if (execed) return; execed = true; loadScript( - 'https://g.alicdn.com/code/lib/monaco-editor/0.31.1/min/vs/loader.min.js', + 'https://g.alicdn.com/code/lib/monaco-editor/0.38.0/min/vs/loader.min.js', () => { window.require.config({ paths: { - vs: 'https://g.alicdn.com/code/lib/monaco-editor/0.31.1/min/vs', + vs: 'https://g.alicdn.com/code/lib/monaco-editor/0.38.0/min/vs', }, });