浏览代码

Update Preview.tsx

Fizz 2 年之前
父节点
当前提交
e43c0525cf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      website/src/website/pages/playground/Preview.tsx

+ 1 - 1
website/src/website/pages/playground/Preview.tsx

@@ -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"