From 8f96688184c01f2585df6f30424cafc6022ffd97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Fri, 21 Mar 2025 22:24:24 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E4=BF=AE=E5=A4=8D=E9=87=8D=E8=BD=BDBloc?= =?UTF-8?q?kly=20workspace=E6=97=B6=E4=BB=A3=E7=A0=81=E5=8C=BA=E4=B8=8D?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/modules/mixly-modules/common/editor-blockly.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/modules/mixly-modules/common/editor-blockly.js b/common/modules/mixly-modules/common/editor-blockly.js index f076d7ed..eccd0c8b 100644 --- a/common/modules/mixly-modules/common/editor-blockly.js +++ b/common/modules/mixly-modules/common/editor-blockly.js @@ -213,7 +213,6 @@ class EditorBlockly extends EditorBase { } this.reloadWorkspace = () => { - Blockly.Events.disable(); let workspaceState = Blockly.serialization.workspaces.save(this.editor); let undoStack = [...this.editor.undoStack_]; let redoStack = [...this.editor.redoStack_]; @@ -222,7 +221,6 @@ class EditorBlockly extends EditorBase { }); this.editor.undoStack_ = [...undoStack]; this.editor.redoStack_ = [...redoStack]; - Blockly.Events.enable(); } this.initBlockly();