Open
Description
Nature of issue?
Found a bug
Details about the bug:
- Web browser and version: All
- Operating System: All
- Steps to reproduce this bug:
- Create a new sketch
- Open the file browser sidebar
- Open the menu for
index.html
- Delete the file
- Press the play button to run the sketch
The page goes blank with a JS console error this.props.htmlFile is undefined
.
I think this happens becuase a sketch must have a single html
file.
I guess the editor should not allow the HTML file to be deleted?