Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add clipboard-write permission

Kiran K5fd2b83d5da6
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;
};