From 5fd2b83d5da60c9124f90d772e0616d7c52a3b7b Mon Sep 17 00:00:00 2001 From: Kiran K Date: Sat, 23 Nov 2024 09:50:35 +0530 Subject: [PATCH] add clipboard-write permission --- packages/embeds/react/src/embed-core.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/embeds/react/src/embed-core.ts b/packages/embeds/react/src/embed-core.ts index f1dfbeef25..c7cd739860 100644 --- a/packages/embeds/react/src/embed-core.ts +++ b/packages/embeds/react/src/embed-core.ts @@ -86,6 +86,7 @@ const createIframe = (iframeUrl: string, token: string): HTMLIFrameElement => { iframe.style.height = "100%"; iframe.style.border = "none"; iframe.setAttribute("credentialssupport", ""); + iframe.setAttribute("allow", "clipboard-write"); return iframe; };