Skip to content

Commit 9e1967b

Browse files
feat: allow clipboard read and write on app iframes (#18221)
Reference: https://web.dev/articles/async-clipboard#permissions_policy_integration This might solve #18160
1 parent 00fb610 commit 9e1967b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/src/pages/TaskPage/TaskAppIframe.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const TaskAppIFrame: FC<TaskAppIFrameProps> = ({
3535
title={link.label}
3636
loading="eager"
3737
className={cn([active ? "block" : "hidden", "w-full h-full border-0"])}
38+
allow="clipboard-read; clipboard-write"
3839
/>
3940
);
4041
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy