Restore Copy and Paste Between Collabora and Desktop Apps

Start by testing with plain text and the keyboard: copy from a local app, click inside the Collabora document, and press Ctrl+V (or Command+V on macOS). To copy out, select text in Collabora, press Ctrl+C or Command+C, then paste into a local app. If shortcuts work but the toolbar or right-click Paste does not, the browser’s clipboard permission path is the likely issue. If shortcuts fail too, test both directions and check whether Collabora is embedded in another site.

Measure the failure before changing settings

The system clipboard is the shared buffer that transfers data between applications. Collabora Online runs inside a browser, so copying across its boundary also passes through browser security rules.

  1. Open a basic local text editor and copy one short, non-sensitive sentence. In Collabora, click in the document body and use the keyboard paste shortcut.
  2. Now copy a short sentence from the Collabora document and paste it into the local editor.
  3. Finally, copy and paste between two local apps. If this last test also fails, troubleshoot the operating system or remote desktop clipboard first; Collabora is not the only app involved.

Use plain text for the first test. Images, tables, spreadsheet ranges, and formatted text can use different clipboard formats, so a plain-text test separates basic access from format-conversion problems.

Illustrative browser office document with selected text beside a local Notes window showing the same text after paste.
The useful baseline is plain text copied from the web document into a local app; repeat the test in the opposite direction.

Try the browser’s keyboard route first

Click the document editing area so it has focus. Use the system shortcut rather than the editor toolbar or a browser context menu. On Windows and Linux, use Ctrl+C and Ctrl+V; on macOS, use Command+C and Command+V. When a Collabora message says the browser has limited clipboard access and asks you to use shortcuts, follow that instruction. The keyboard action is tied directly to a user gesture and can work even when a menu action that calls the asynchronous Clipboard API is blocked.

If it does not, make sure the document is editable, the cursor is in the document rather than a search box or toolbar field, and the source text was actually selected. Close and reopen the document once after a permission change; a stale editor frame may keep the previous policy.

First confirm plain text arrives. Then test the rich content you need; fonts, formulas, images, and cell formats may not transfer identically. Use Paste Special when the destination offers it.

Allow clipboard access in the browser

The modern Clipboard API is restricted to secure contexts, usually HTTPS, and browsers can require a user gesture or permission. In Chrome or Edge, open the site information control next to the address, open site settings, and set Clipboard to Allow for the trusted site when that permission is available. If a browser prompt appears when you choose Paste, allow it only for the office service you trust. Reload the document and repeat the two-direction text test.

Illustrative Chromium-style site settings panel for office.example.com with the Clipboard permission set to Allow.
A browser clipboard permission may enable menu-based or rich paste actions when the browser requests it.

Clipboard permission labels and behavior vary by browser. Some browsers use a user gesture or a short-lived paste prompt instead of a persistent permission. A managed browser can also enforce a policy that overrides your choice; if the control is locked or the permission is denied by policy, ask the browser administrator to check the rule for the office site. Keep the site on HTTPS: granting a permission does not turn an insecure origin into a secure context.

If Collabora is inside an iframe, check the integration

An iframe is a web page embedded inside another page. Many Collabora deployments use one so the host platform can display the editor. In Chromium-based browsers, a cross-origin frame may need the embedding page to delegate clipboard access. The Collabora SDK manual documents this iframe attribute for its clipboard permission query:

<iframe allow="clipboard-read *; clipboard-write *">
Illustrative code editor showing an iframe allow attribute with clipboard-read and clipboard-write permissions.
The Collabora SDK documents clipboard permissions on the embedding iframe; only the platform that creates that frame can change this attribute.

This is a setting for the integration that creates the frame, not a Docker setting on the Collabora server. If you maintain the host application, verify the actual editor iframe in browser developer tools and check that the parent page’s Permissions-Policy response header does not block clipboard-read or clipboard-write. A restrictive parent policy can still deny access even when the iframe has an allow attribute. Delegate only to the Collabora frame your users need; do not grant broad clipboard access to unrelated embedded content.

If you use a hosted Nextcloud, learning platform, or document portal and cannot edit its frame markup or response headers, send its administrator the browser and version, which direction failed, whether keyboard shortcuts work, and any clipboard-related console error. They may need to update the integration. Changing CODE’s network ports or restarting its container will not grant an iframe browser permission.

Use the symptom to choose the next check

What you observeWhat to check next
Toolbar Paste fails, but Ctrl+V worksUse the shortcut or grant the requested browser clipboard permission for the trusted site.
Only Collabora-in to desktop copy failsCheck copy restrictions or browser write permission; confirm simple selected text is copied.
Only desktop-to-Collabora paste failsCheck browser paste permission, focus in the document, and whether the host frame delegates read access.
Console says “Clipboard API has been blocked by a permissions policy”The embedding page or its response header is blocking access. The integration owner must adjust it.
Plain text works but rich content does notCompare supported clipboard formats and the destination app’s paste options; this may be a format-fidelity limit rather than total clipboard failure.
Illustrative browser developer console showing a clipboard Permissions Policy violation and an example status after a frame permission update.
A Permissions Policy violation points to the embedding page or its headers; the example is a diagnostic illustration, not a live test result.

Confirm the result

After a permission or integration change, reopen the document and repeat both plain-text tests: local app to Collabora, then Collabora to local app. Confirm the text appears in the intended place, then test the specific rich content you rely on. If only the menu works after the change, verify the keyboard route too; if only shortcuts work, the core clipboard path is usable but the asynchronous browser permission path may still be blocked.

For the security rules behind browser clipboard access, see MDN’s Clipboard API reference. For Chrome site permission controls, use Chrome’s site settings help. Integration owners can check Collabora’s advanced integration documentation for the iframe clipboard permission requirement.

Leave a Comment

Clear Nextcloud’s File Locking Warning with Redis

Enable reliable Nextcloud file locking, choose the right Redis or Valkey backend, and verify the warning clears without risking concurrent file changes.

What It Takes to Target an A+ Nextcloud Security Rating

What It Takes to Target an A+ Nextcloud Security Rating

Fix common Nextcloud scan findings with current updates, HTTPS and HSTS, precise reverse-proxy trust, and checks against the public server.

Automate Consistent Nextcloud Backups with Restic and Cron

Automate Consistent Nextcloud Backups with Restic and Cron

Back up Nextcloud’s files and MariaDB together, schedule encrypted Restic snapshots with cron, and verify recovery without risking the live server.

Enable Nextcloud Server-Side Encryption with Measured Impact

Configure Nextcloud SSE for the storage that needs it, protect encryption keys, and measure transfer and CPU impact before encrypting existing files.

Add Elasticsearch Full-Text Search to Nextcloud

Connect Nextcloud’s file search to Elasticsearch, index document contents, and choose a setup that fits your server and security needs.

Set a Reliable Expiration Policy for Nextcloud Deleted Files

Set a Reliable Expiration Policy for Nextcloud Deleted Files

Configure Nextcloud to remove deleted files after a defined retention period, schedule background jobs reliably, and avoid commands that purge every user’s trash.

Clear Nextcloud’s Missing Database Indexes Warning

Clear Nextcloud’s Missing Database Indexes Warning

Run Nextcloud’s OCC repair safely, preview the database changes, and check why the warning might remain.

Raise Nextcloud’s Web Upload Limit Past 2 GB

Raise Nextcloud’s Web Upload Limit Past 2 GB

Allow larger Nextcloud browser uploads by aligning PHP, Nginx or Apache, temporary storage, and timeout settings—and verify which limit is blocking the file.

Clear Nextcloud’s PHP Memory Warning at the Web Server

Set the PHP memory limit Nextcloud actually uses, restart the right service, and confirm the 512 MB setting in Admin Overview.

Connect an S3-Compatible Bucket to Nextcloud External Storage

Mount a compatible object-storage bucket in Nextcloud using its S3 backend, with the right endpoint, credentials, access scope, and verification steps.