Update: Blockly工作区添加Comment模块
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user