Reorganize conditionals for block context menu (#2390)

* Reorganize conditionals for block context menu

* Disable comments and disabling in block factory
This commit is contained in:
ahigerd
2019-04-18 10:49:07 -05:00
committed by RoboErikG
parent ae112354fb
commit bc77024670
2 changed files with 49 additions and 40 deletions

View File

@@ -718,6 +718,8 @@ AppController.prototype.init = function() {
BlockFactory.mainWorkspace = Blockly.inject('blockly',
{collapse: false,
toolbox: toolbox,
comments: false,
disable: false,
media: '../../media/'});
// Add tab handlers for switching between Block Factory and Block Exporter.