Chrome/Edge clipboard issue in Collabora Online embedded in Moodle

Hello Collabora Team,

we are operating a Moodle-based platform (“Gesundheit gestalten”) and use Collabora Online extensively for collaborative document editing.

We are currently experiencing a clipboard issue that significantly impacts productive use of Collabora in Google Chrome and Microsoft Edge. I apologize if this issue has already been reported, resolved, or discussed in another forum thread. I have tried to research existing reports beforehand, but I was unable to determine whether our observations correspond to a known issue. If so, I would appreciate a reference to the relevant discussion and your understanding.

Problem description

When users copy or cut text within a Collabora document and then paste it again within the same document, Collabora sometimes inserts an older clipboard entry instead of the most recently copied or cut content.

Example:

  1. Copy external text “REDREDRED” from outside Collabora and paste it into the document.
  2. Write “BLUEBLUEBLUE” inside the same Collabora document.
  3. Cut “BLUEBLUEBLUE”.
  4. Paste.

Expected result:
“BLUEBLUEBLUE” is inserted.

Actual result:
“REDREDRED” is inserted again.

This makes restructuring and editing larger documents very difficult because users cannot reliably trust clipboard operations.

Environment

  • Moodle platform
  • Collabora Online integrated via Moodle Collabora plugin
  • Problem reproducible on:
    • Production system
    • Staging system
    • Test system

Browser behaviour

Affected:

  • Google Chrome 145.x
  • Microsoft Edge 144/145.x

Works correctly:

  • Mozilla Firefox 147/148.x

Collabora versions

Observed on:

  • 25.04.3.4
  • 25.04.7.x

Interestingly, an older installation using 24.04.1.3 reportedly did not show this behaviour.

What we already tested

  • Multiple users
  • Multiple documents
  • Different environments
  • Browser cache cleared
  • Cookies cleared
  • Clipboard permissions explicitly granted to the Moodle domain
  • CTRL+C / CTRL+V
  • Context menu paste
  • Newly created documents

The issue remains reproducible.

Additional findings

Our technical partner within our project investigated the issue and suspects that the root cause may be related to the Moodle-Collabora integration, specifically:

  • iframe embedding
  • missing Permissions-Policy headers for Clipboard API access

Questions

  1. Is this behaviour already known to the Collabora team?
  2. Is this a Collabora Online issue or a known limitation of the Moodle integration?
  3. Are there recommended configuration changes regarding Clipboard API permissions?
  4. Has this issue already been fixed in newer versions?
  5. Are there logs, browser diagnostics or additional tests that would help narrow down the root cause?

Because most of our users work with Chrome or Edge, recommending Firefox is unfortunately not a practical long-term solution.

Any guidance would be greatly appreciated.

Thank you very much. Ben

Hi @ben

Welcome to the collabora online forum :slight_smile:

Thanks a lot for this nice and detailed report! This really helps a lot to investigate. The browser breakdown (Chrome/Edge affected, Firefox working), the version comparison (24.04 vs 25.04), and the clean reproduction steps are exactly what’s needed — honestly you’ve already done about 50% of the work here. Nice one :slight_smile:

Let me check on GitHub to see if we already have something similar tracked. If not, I’ll file and track the issue, and I’ll be back to you with the next update.

Thanks again — really good report.

Cheers
Darshan

Hi @ben,

Would it be possible for you to upgrade to the latest available version and check whether the issue still occurs?

I have tried reproducing this on a newer version and haven’t been able to reproduce it so far. If upgrading is an option, that would likely be the easiest workaround for now while we continue investigating.

Please let me know whether the problem persists after the upgrade.

Hi Darshan,

thank you for looking into this and for the suggestion.

I have forwarded your recommendation internally within our project and asked our administrators to check whether an upgrade to the latest available Collabora version is possible. Once I receive feedback and we have had the chance to test it, I will come back to you with an update on whether the issue still occurs after the upgrade.

Thanks again for your support.

Best regards,
Ben