Open
Description
Is your feature request related to a problem? Please describe.
onShowContextMenu
allows the context menu of the workspace to be customized. There should be a similar function to customize the context menu of all blocks.
Describe the solution you'd like
Provide a variable called onShowBlockContextMenu
, whose type is (block: Blockly.Block, info: pxtc.BlocksInfo, items: Blockly.ContextMenu.MenuItem[]) => void
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment