Update Preview.tsx

This commit is contained in:
Fizz 2023-03-10 14:11:03 +08:00 committed by GitHub
parent 4a80f8e852
commit e43c0525cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ export class Preview
<iframe <iframe
className="full-iframe" className="full-iframe"
key={this.counter} key={this.counter}
sandbox="allow-scripts" sandbox="allow-scripts allow-modals"
frameBorder={0} frameBorder={0}
ref={this.handleIframe} ref={this.handleIframe}
src="./playgroundRunner.html" src="./playgroundRunner.html"