I am using Blockly library for a project. I want to remove all the blocks dragged by the user from the toolbox on pressing the reset button.
Can someone help with how can this be done. Which function do I have to use?
I am using Blockly library for a project. I want to remove all the blocks dragged by the user from the toolbox on pressing the reset button.
Can someone help with how can this be done. Which function do I have to use?
Copyright © 2021 Jogjafile Inc.
This is implemented in Blockly by fa279b9. The user can do a context menu click on the workspace and select "Delete X Blocks" where X will be the number of blocks in the workspace: