From 552f80862bc70adddd63e946d43520c5ee07c094 Mon Sep 17 00:00:00 2001 From: airslice Date: Mon, 30 Sep 2024 16:00:49 +0800 Subject: [PATCH] refactor: allow popups --- .../Visualizer/Crust/Plugins/PluginFrame/SafeIFrame/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/beta/features/Visualizer/Crust/Plugins/PluginFrame/SafeIFrame/index.tsx b/web/src/beta/features/Visualizer/Crust/Plugins/PluginFrame/SafeIFrame/index.tsx index 96c5e1504..ab96c05e5 100644 --- a/web/src/beta/features/Visualizer/Crust/Plugins/PluginFrame/SafeIFrame/index.tsx +++ b/web/src/beta/features/Visualizer/Crust/Plugins/PluginFrame/SafeIFrame/index.tsx @@ -73,7 +73,7 @@ const IFrame: ForwardRefRenderFunction = ( ref={composeRefs(iFrameRef, externalRef)} className={className} onLoad={onIFrameLoad} - sandbox="allow-scripts allow-downloads" + sandbox="allow-scripts allow-downloads allow-popups" allow="" {...props} />