Removing "disable block" from context menu

87 views
Skip to first unread message

Rick J

unread,
May 8, 2018, 6:20:44 PM5/8/18
to Blockly
How can I remove one of the options in the default context menu? We'd like to remove the ability from the users to disable blocks because it does not make sense in our use-case. 

picklesrus

unread,
May 8, 2018, 7:33:24 PM5/8/18
to Blockly
Hi Rick,

There is a configuration option you can set at inject time for for disable that should do the trick: disable:false

-picklesrus
Reply all
Reply to author
Forward
0 new messages