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

"Sprial": There are errors when copy the code from Instructions to workspace #5682

Open v-katherine opened 1 month ago

v-katherine commented 1 month ago

Describe the bug "Sprial": There are errors when copy the code from Instructions to workspace

Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta 2.Turtle->Sprial->Show Instructions. 3.Click JavaScript or Python to show code. 4.Copy and paste the code into workspace.

Actual behavior: There are errors.

Expected behavior: There are no errors.

Screen Recording: error

Additional context: 1.OS: Windows11, iMac Ventura 13.6.6 2.makecode.microbit,org version: 7.0.12 3.Microsoft MakeCode version: 10.0.23

v-katherine commented 1 month ago

This issue also reproduced in Turtle->Scanner