Update Preview.tsx

pull/3774/head
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
1 changed files with 1 additions and 1 deletions

View File

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