mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
Fix advanced playground options passing (#3907)
This commit is contained in:
@@ -152,11 +152,11 @@ function createWorkspace() {
|
||||
|
||||
// Create main workspace.
|
||||
addGUIControls((options) => {
|
||||
workspace = Blockly.inject('blocklyDiv', defaultOptions);
|
||||
workspace = Blockly.inject('blocklyDiv', options);
|
||||
workspace.configureContextMenu = configureContextMenu;
|
||||
addToolboxButtonCallbacks();
|
||||
return workspace;
|
||||
}, options);
|
||||
}, defaultOptions);
|
||||
}
|
||||
|
||||
function addToolboxButtonCallbacks() {
|
||||
|
||||
Reference in New Issue
Block a user