mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: allow clipboard read and write on app iframes (#18221)
Reference: https://web.dev/articles/async-clipboard#permissions_policy_integration This might solve https://github.com/coder/coder/issues/18160
This commit is contained in:
@ -35,6 +35,7 @@ export const TaskAppIFrame: FC<TaskAppIFrameProps> = ({
|
|||||||
title={link.label}
|
title={link.label}
|
||||||
loading="eager"
|
loading="eager"
|
||||||
className={cn([active ? "block" : "hidden", "w-full h-full border-0"])}
|
className={cn([active ? "block" : "hidden", "w-full h-full border-0"])}
|
||||||
|
allow="clipboard-read; clipboard-write"
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user