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

Switch to blocks pops error in editor which opened form the doc under Jacdac section #5563

Open v-katherine opened 3 months ago

v-katherine commented 3 months ago

Describe the bug Switch to blocks pops error in editor which opened form the doc under Jacdac section

Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta. 2.Jacdac->Button smasher->Show Instruction. 3.Click 'Try in MakeCode' in template. 4.Switch to Blocks editor by clicking Blocks.

Actual behavior: Cannot switch to Blocks editor and pops-up error.

Expected behavior: Switch to Blocks editor with no error.

Screen Recording: switchcode

Additional context: 1.OS: Windows 11 2.makecode.microbit,org version: 7.0.4 3.Microsoft MakeCode version: 10.0.11

v-katherine commented 3 months ago

This bug reproduced in Jacdac sections except 'Getting Started'.