[Playground] Ignored call to 'alert()'. The document is sandboxed, and the 'allow-modals' keyword is not set.
PKulkoRaccoonGang opened this issue · comments
Feedback summary
The current implementation of the Playground, unfortunately, does not call and display native alerts. For example, if we send an alert call to onClick
, we get the error:
Ignored call to 'alert()'. The document is sandboxed, and the 'allow-modals' keyword is not set.
I have a PR up that fixes this here #2987, but I do wonder if we actually want to support using alert()
in the playground or not.