condemirror.js引用路径修改

This commit is contained in:
mengxinzxz 2024-02-15 01:35:25 +08:00
parent de996dd599
commit 15adfe71d4
1 changed files with 3 additions and 3 deletions

View File

@ -1551,7 +1551,7 @@ export const extensionMenu = function (connectMenu) {
} }
else { else {
if (!window.CodeMirror) { if (!window.CodeMirror) {
import('../../game/codemirror.js').then(() => { import('../../../../../game/codemirror.js').then(() => {
lib.codeMirrorReady(node, editor); lib.codeMirrorReady(node, editor);
}); });
lib.init.css(lib.assetURL + 'layout/default', 'codemirror'); lib.init.css(lib.assetURL + 'layout/default', 'codemirror');
@ -1989,7 +1989,7 @@ export const extensionMenu = function (connectMenu) {
} }
else { else {
if (!window.CodeMirror) { if (!window.CodeMirror) {
import('../../game/codemirror.js').then(() => { import('../../../../../game/codemirror.js').then(() => {
lib.codeMirrorReady(node, editor); lib.codeMirrorReady(node, editor);
}); });
lib.init.css(lib.assetURL + 'layout/default', 'codemirror'); lib.init.css(lib.assetURL + 'layout/default', 'codemirror');
@ -2369,7 +2369,7 @@ export const extensionMenu = function (connectMenu) {
} }
else { else {
if (!window.CodeMirror) { if (!window.CodeMirror) {
import('../../game/codemirror.js').then(() => { import('../../../../../game/codemirror.js').then(() => {
lib.codeMirrorReady(node, this.editor); lib.codeMirrorReady(node, this.editor);
}); });
lib.init.css(lib.assetURL + 'layout/default', 'codemirror'); lib.init.css(lib.assetURL + 'layout/default', 'codemirror');