diff --git a/src/renderer/src/components/Playground/Output/Preview/Render.tsx b/src/renderer/src/components/Playground/Output/Preview/Render.tsx index 102dd2c..3ef5fb7 100644 --- a/src/renderer/src/components/Playground/Output/Preview/Render.tsx +++ b/src/renderer/src/components/Playground/Output/Preview/Render.tsx @@ -204,6 +204,7 @@ const Render = ({ iframeKey, compiledCode, mobileMode = false }: RenderProps) => src={iframeUrl} onLoad={() => setIsLoaded(true)} sandbox="allow-downloads allow-forms allow-modals allow-scripts" + allow={'clipboard-read; clipboard-write'} />
@@ -246,6 +247,7 @@ const Render = ({ iframeKey, compiledCode, mobileMode = false }: RenderProps) => src={iframeUrl} onLoad={() => setIsLoaded(true)} sandbox="allow-downloads allow-forms allow-modals allow-scripts" + allow={'clipboard-read; clipboard-write'} /> ) }