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

"Command Responder": Copied JavaScript code from instruction cannot convert to python #5698

Open v-katherine opened 1 month ago

v-katherine commented 1 month ago

Describe the bug "Command Responder": Copied JavaScript code from instruction that cannot convert to python

Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta 2.Block to JavaScript->Command Responder->Show Instructions. 3.Copy JavaScript Code above 'Try it!'.

  1. Paste the code into workspace and switch to Python.

Actual behavior Pops up error 'We are unable to convert your code to Python'.

Expect behavior Successfully switch to Python editor

Screen Recording: revert

Additional context 1.OS: Windows 11 Enterprise 2.Browser: Edge 3.makecode.microbit,org version: 7.0.12 4.Microsoft MakeCode version: 10.0.23