mirror of
https://github.com/suitenumerique/drive.git
synced 2026-09-29 04:55:15 +02:00
🐛(frontend) allow clipboard access in wopi editor iframe
The iframe permissions policy was blocking clipboard operations in the WOPI editor, preventing users from using copy/paste.
This commit is contained in:
@@ -91,6 +91,7 @@ export const WopiEditor = ({ item, onFileRename }: WopiEditorProps) => {
|
||||
name="office_frame"
|
||||
className="wopi-editor-iframe"
|
||||
title={item.title}
|
||||
allow="clipboard-read *; clipboard-write *"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user