-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while using workspace.removeBlockById() #3940
Comments
Hi! When filing an issue please fill out all of the pre-made sections. That helps people figure out what could be going on =) Lucky for you someone else had the same problem a few weeks ago =) You want to use I hope that helps! If you have any further problems (specifically related to disposing) I think it might be best to redirect your questions to the forums. Thank you :D |
@BeksOmega i want to know that what is the name of workspace area where we put blocks ? can we say it "workspace area" i think "workspace area" is including both toolbox and area. likewise there is a name for right menu "toolbox". |
The trashcan uses Blockly events to determine when to add blocks to its list of blocks.
Blockly does support dynamic dropdowns, see: If you're unsure whether what you've stumbled upon is a bug or if you need advice / have questions about what you're trying to achieve, the Blockly forum is a better place to ask questions. |
i have a custom block with type
a
i run
workspace.removeBlockById(workspace.getBlocksByType("a")[0].id)
in console and it show following error as shown in following gifIt should delete block
The text was updated successfully, but these errors were encountered: