diff --git a/src/components/Playground/Output/Preview/Render.tsx b/src/components/Playground/Output/Preview/Render.tsx index 102dd2c..3c8651a 100644 --- a/src/components/Playground/Output/Preview/Render.tsx +++ b/src/components/Playground/Output/Preview/Render.tsx @@ -203,7 +203,7 @@ const Render = ({ iframeKey, compiledCode, mobileMode = false }: RenderProps) => ref={iframeRef} src={iframeUrl} onLoad={() => setIsLoaded(true)} - sandbox="allow-downloads allow-forms allow-modals allow-scripts" + sandbox="allow-downloads allow-forms allow-modals allow-scripts clipboard-read clipboard-write" />
@@ -245,7 +245,7 @@ const Render = ({ iframeKey, compiledCode, mobileMode = false }: RenderProps) => ref={iframeRef} src={iframeUrl} onLoad={() => setIsLoaded(true)} - sandbox="allow-downloads allow-forms allow-modals allow-scripts" + sandbox="allow-downloads allow-forms allow-modals allow-scripts clipboard-read clipboard-write" /> ) }