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 import the code when import file in Extensions page #5686

Open v-katherine opened 1 month ago

v-katherine commented 1 month ago

Describe the bug Didn't import the code when import file in Extensions page

Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta 2.Open or create a project. 3.More…->Extensions. 4.Click Import File, choose a file and click Go ahead! 5.Observe the simulator and workspace.

Actual behavior: Simulator play the imported file but didn't import the code into the workspace.

Expected behavior: Import the whole file into the editor, involved simulator and code.

Screen Recording: import

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