Allow alert()
messages
#507
Labels
Feature Request
Proposal for adding a new functionality
Good First Issue
A beginner-friendly issue, great for first-time contributors
Help Wanted
Would love additional input or contributions!
Priority:Low
Low-impact issue that can be addressed after higher-priority tasks
I've noticed that you cannot use
alert()
inside of sketches. This seems to be due to the sandboxing of the iframe and the lack ofallow-modals
which has been referred to in previous issues (#2360).I'm assuming this is intentionally omitted to prevent printing, but based on what I read in Issue 474 using
print()
outside of functions to actually print is the intended design. Withallow-modals
, print is still successfully sandboxed inside of functions and alerts work properly.I can make a pull request, but I wanted to make sure this was a good direction to go in before I do so.
The text was updated successfully, but these errors were encountered: