You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix Collabora clipboard on Chromium-based browsers #1567
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:
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
Hi! Found out, that apparently collabora has changed their clipboard handling to use the new async API in recent versions. Rolling back to 25.04.4.2, everything works fine.
The new API needs these permissions, but old clipboard access methods do not. So, this is something that needs to be done, if we want clipboard to work on newer collabora versions. In that sense this is not very urgent, but on the other hand, it is a very small change to make.
I am using Google Chrome, Version 141.0.7390.122 on OpenSUSE Tumbleweed.
Activity
AlexAndBear commentedon Nov 10, 2025
On google chrome, this dialog pops up but copying and pasting does work
Can you share the OS/Browser you are using ?
niklasiivari commentedon Nov 10, 2025
Hi! Found out, that apparently collabora has changed their clipboard handling to use the new async API in recent versions. Rolling back to 25.04.4.2, everything works fine.
The new API needs these permissions, but old clipboard access methods do not. So, this is something that needs to be done, if we want clipboard to work on newer collabora versions. In that sense this is not very urgent, but on the other hand, it is a very small change to make.
I am using Google Chrome, Version 141.0.7390.122 on OpenSUSE Tumbleweed.
AlexAndBear commentedon Nov 10, 2025
Thanks for the clarification, opened a PR 👍