From 233e08c24190982aaf66777de97c9bd5d3e84b1a Mon Sep 17 00:00:00 2001 From: stefanmuhle <88313428+stefanmuhle@users.noreply.github.com> Date: Tue, 6 Sep 2022 15:48:27 +0200 Subject: [PATCH] Add the clipboard read permission for widgets Signed-off-by: Stefan Muhle --- src/components/views/elements/AppTile.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/views/elements/AppTile.tsx b/src/components/views/elements/AppTile.tsx index 9bdb94f5800..a25e42ad26b 100644 --- a/src/components/views/elements/AppTile.tsx +++ b/src/components/views/elements/AppTile.tsx @@ -550,7 +550,8 @@ export default class AppTile extends React.Component { // Additional iframe feature permissions // (see - https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes and https://wicg.github.io/feature-policy/) - const iframeFeatures = "microphone; camera; encrypted-media; autoplay; display-capture; clipboard-write;"; + const iframeFeatures = "microphone; camera; encrypted-media; autoplay; display-capture; clipboard-write; " + + "clipboard-read;"; const appTileBodyClass = 'mx_AppTileBody' + (this.props.miniMode ? '_mini ' : ' '); const appTileBodyStyles = {};