Update: Blockly工作区添加Comment模块

This commit is contained in:
王立帮
2024-07-21 10:16:51 +08:00
parent 4de91b3b01
commit 64749a6541
3 changed files with 4 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ class EditorBlockly extends EditorBase {
this.addPlugins = () => {
const { editor } = this;
// Blockly.ContextMenuItems.registerCommentOptions();
Blockly.ContextMenuItems.registerCommentOptions();
editor.configureContextMenu = (menuOptions, e) => {
const workspaceSearchOption = {
text: Blockly.Msg['WORKSPACE_SEARCH_OPEN'],