diff --git a/core/toolbox.js b/core/toolbox.js index 31fd3962e..1fb7387f0 100644 --- a/core/toolbox.js +++ b/core/toolbox.js @@ -185,7 +185,9 @@ Blockly.Toolbox.prototype.init = function() { oneBasedIndex: workspace.options.oneBasedIndex, horizontalLayout: workspace.horizontalLayout, toolboxPosition: workspace.options.toolboxPosition, - renderer: workspace.options.renderer + renderer: workspace.options.renderer, + // pxt-blockly: pass the newFunctions option + newFunctions: workspace.options.newFunctions }); if (workspace.horizontalLayout) { if (!Blockly.HorizontalFlyout) {