pxt-ev3
pxt-ev3 copied to clipboard
Print Block Code is not working after custom.ts is added
Describe the bug There is nothing to be printed for block code once the custom.ts is added to code
To Reproduce Steps to reproduce the behavior:
- Add some blocks in editor
- Use the print command and observe that it works
- Expand the explorer and add custom.ts to project
- Add JavaScript code in custom.ts
- Open block view
- Use the print command and observe that it fails
Expected behavior The block print should work independently if custom.ts is added or not..
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Edge
- EV3 version: 1.4.19
- MakeCode version: 5.31.8
Additional context The block layout topology can be totally messed up after the JavaScript has been edited. A remedy has been to Ctlr-X the whole JavaScript tab, switching back to block tab, switching back to JavaScript and Ctrl-V to restore the code.