microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
699 stars 581 forks source link

Didn't show before all blocks after undo deletion all blocks #5685

Open v-katherine opened 1 month ago

v-katherine commented 1 month ago

Describe the bug Didn't show before all blocks after undo deletion all blocks

Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta 2.Open or create a project. 3.Add some blocks into workspace. 4.Right-click in workspace and click 'Delete All Blocks'. 5.Click Undo and observe.

Actual behavior: Didn't show before all block, only show one blocks.

Expected behavior: Show all blocks.

Screen Recording: undodeleteallblocks

Additional context: 1.OS: Windows11 2.Browsers: Edge & Firefox 2.makecode.microbit,org version: 7.0.12 3.Microsoft MakeCode version: 10.0.23