mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
Add tests for contextmenu_items (#4118)
Add tests for context menu items
This commit is contained in:
committed by
GitHub
parent
6dcf927e05
commit
9568d3f2cc
@@ -167,7 +167,7 @@ Blockly.ContextMenuItems.registerExpand = function() {
|
||||
Blockly.ContextMenuItems.toggleOption_(false, scope.workspace.getTopBlocks(true));
|
||||
},
|
||||
scopeType: Blockly.ContextMenuRegistry.ScopeType.WORKSPACE,
|
||||
id: 'toggleWorkspace',
|
||||
id: 'expandWorkspace',
|
||||
weight: 0,
|
||||
};
|
||||
Blockly.ContextMenuRegistry.registry.register(expandOption);
|
||||
|
||||
Reference in New Issue
Block a user