-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
Description
Initial Checklist
- I understand this is a bug report and questions should be posted in the Community Discussions
- I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Hi,
I've found a bug when using onlyoffice 9 (It also happens on some collabora versions). The copy/paste commands stopped working.
Looking at the console logs, I'm seeing this error:
[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
R6d @ sdk-all.js:18726
f.JZ.document.oncopy @ sdk-all.js:18713
f3d @ sdk-all.js:18727
I've created an issue on the OnlyOffice repo and they say it is an OpenCloud problem. ONLYOFFICE/DocumentServer#3460 (comment)
oCIS made a fix for the problem so I think you could just port it: owncloud/web#12954
Reproduction Steps
- Open a document
- Copy some text via Ctrl+C
- Paste the text via Ctrl+V (Won't work.)
- Paste the text using the Right+Click (It works only inside the editor.)
Expected Outcome
Copying text via Ctrl+C and pasting it onto a document via Ctrl+V should work.
Actual Outcome
When copying some data with Ctrl+C, it cannot be pasted anywhere using Ctrl+V. It only works inside the editor by using right+click paste. The copied data is not being added to the clipboard. This also makes it impossible to copy data from onlyoffice to an external editor.