Open yairhaimo opened 1 year ago
FYI - Sandpack added the allow
attribute to their iframe a week ago but they have an open issue where it doesnt work:
Sandpack preview's iframe is not setting allow with domain
They fixed the issue but didnt publish a new version yet. I tested with latest main - they seem to have an error with the latest bundler (1.20.6) but if you change it to 1.20.1 it works correctly and asks for permissions.
Just FYI i guess
Hi,
Is there a way to add permissions to the preset iframe? Like the example from codesandbox:
If not, would you be open to a PR?
Amazing library btw!