You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tuxianchao please provide repro steps. There's not normally a way to create non-movable/deletable blocks in a way that they're added to the undo stack.
Unfortunately, we'll need repro steps to understand the issue you're seeing. Closing for now but will re-open if we get more detail.
When you load up a workspace (e.g from a database) with multiple blocks but the action list is empty. If you press ctrl z, it'll undo all the loaded blocks even if they're not deletable. Is there a way around this?
When you load up a workspace (e.g from a database) with multiple blocks but the action list is empty. If you press ctrl z, it'll undo all the loaded blocks even if they're not deletable. Is there a way around this?
@justinvvitale you should be able to call Blockly.Events.disable() before loading and Blockly.Events.enable() after loading so that no events are fired. If you have any further questions I (and others) are happy to help, but please ask on the developer forums so we can keep the github clean :D Hope that helps!
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Stack Traces
Additional context
The text was updated successfully, but these errors were encountered: