-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Initial Checklist
- I understand this is a feature request and questions should be posted in the Community Discussions
- I searched issues and couldn’t find anything (or linked relevant results below)
Idea
The iframe tag for collabora integration should be edited to enable clipboard access, as described in the collabora advanced integration documentation: here:
Allow the clipboard permission query
Chrome implements a JavaScript API to paste from the clipboard without using the keyboard. This relies on cross-origin iframes, which is disabled by default. To enable it in your integration, use a new attribute in the iframe element of your integration:
<iframe allow="clipboard-read *; clipboard-write *"/>
Once this is in place, the user will see a popup to allow access to the clipboard on first use.
Currently, this error is given in the console, and copying even using ctrl+c does not work:
bundle.js:14302 [Violation] Permissions policy violation: The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://crbug.com/414348233 for more details. _asyncAttemptNavigatorClipboardWrite @ bundle.js:14302