# Nextcloud Office » Copy-pasting disabled

**URL:** <https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210>\
**Category:** ℹ️ Support\
**Created:** [October 11, 2022, 3:15pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210 "2022-10-11T15:15:03Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekevu](https://help.nextcloud.com/letter_avatar/ekevu/32/6_22734026db12803ebb3e059622ac3534.png) [@ekevu](https://help.nextcloud.com/u/ekevu)\
**Post date:** [October 11, 2022, 3:15pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/1 "2022-10-11T15:15:03Z")

</div>

I am using Nextcloud in version 24.04 and a separate installation of Collabora Online (CODE) 22.05.6.1.

Since today’s update of the Nextcloud Office app, one user gets the error message “Copying from the document disabled” when trying to copy-paste values from a spreadsheet in Nextcloud into an offline spreadsheet (Excel). The message appears in the target spreadsheet instead of the chosen values.  
The user has full document access, no external sharing link.

I cannot reproduce the issue on my computer.

Does anyone know what I can do to fully allow copy-pasting?

---

<div class="post-metadata">

**Author:** ![ekevu](https://help.nextcloud.com/letter_avatar/ekevu/32/6_22734026db12803ebb3e059622ac3534.png) [@ekevu](https://help.nextcloud.com/u/ekevu)\
**Post date:** [October 11, 2022, 4:07pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/2 "2022-10-11T16:07:06Z")

</div>

I know now that it affects all user accounts except of mine, but sharing the file as an external link works.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [October 11, 2022, 8:58pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/3 "2022-10-11T20:58:13Z")

</div>

At the moment I can’t reproduce the problem. I used NC 24.0.5 with richdocuments 6.2.0 and separate Collabora 22.05… (all Docker but this should not matter)

- created new file, which I shared for anonymous write access
- Tested Copy&paste using shared URL - copy&paste works
- upgraded richdocuments to 6.2.1
- tested again using the old share URL - copy&paste works
- created new share with write access, tested again using the new share URL - copy&paste works

In the past I have seen this issue but I don’ t remember the cause I think it was some protection feature

---

<div class="post-metadata">

**Author:** ![ekevu](https://help.nextcloud.com/letter_avatar/ekevu/32/6_22734026db12803ebb3e059622ac3534.png) [@ekevu](https://help.nextcloud.com/u/ekevu)\
**Post date:** [October 12, 2022, 9:49am UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/4 "2022-10-12T09:49:35Z")

</div>

Yes, and I can’t see any suitable protection feature. I can’t reproduce it either, but I have seen the screencast, so this is really an issue.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [October 12, 2022, 8:50pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/5 "2022-10-12T20:50:55Z")

</div>

> [@ekevu](#):
>
> I can’t reproduce it either

from your original post I missed the important point “one user” is affected… Please double check this user still has an issue using “private” or “incognito” mode… most likely this is something related to local browser cache and can be resolved by removing local data…

---

<div class="post-metadata">

**Author:** ![ekevu](https://help.nextcloud.com/letter_avatar/ekevu/32/6_22734026db12803ebb3e059622ac3534.png) [@ekevu](https://help.nextcloud.com/u/ekevu)\
**Post date:** [October 13, 2022, 8:31am UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/6 "2022-10-13T08:31:01Z")

</div>

Actually, I just tried to impersonate the user using the respective app and when I try to copy-paste from her account, it doesn’t work for me either. So, this must be account-related and probably affects multiple users, but perhaps not everyone has tried it yet.

---

<div class="post-metadata">

**Author:** ![ekevu](https://help.nextcloud.com/letter_avatar/ekevu/32/6_22734026db12803ebb3e059622ac3534.png) [@ekevu](https://help.nextcloud.com/u/ekevu)\
**Post date:** [October 13, 2022, 6:27pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/7 "2022-10-13T18:27:55Z")

</div>

I could narrow the issue down to Nextcloud 24.04, everything worked in Nextcloud 24.06.

---

<div class="post-metadata">

**Author:** ![ekevu](https://help.nextcloud.com/letter_avatar/ekevu/32/6_22734026db12803ebb3e059622ac3534.png) [@ekevu](https://help.nextcloud.com/u/ekevu)\
**Post date:** [October 17, 2022, 8:09am UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/8 "2022-10-17T08:09:53Z")

</div>

It was a wrong direction, the issue remains after upgrading the installation I have used to 24.06.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [October 17, 2022, 11:33am UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/9 "2022-10-17T11:33:09Z")

</div>

sounds like this:

> <https://github.com/nextcloud/richdocuments/issues/2496>
>
> \*\*Describe the bug\*\*
> After updating from 6.2.0 to 6.2.1 a user cannot copy text… from a shared office document (odt, ods, ...) any more.
> 
> \*\*To Reproduce\*\*
> Steps to reproduce the behavior:
> 1. Install or Update Nextcloud Office \>=6.2.1
> 2. Share a directory with another user
> 3. Create a office document, e.g. a ods file inside the shared directory and input some text
> 4. switch accounts to the second user
> 5. open the document from the shared directory
> 6. copy the previously entered text
> 
> \*\*Expected behavior\*\*
> The clipboard should contain the text from the document
> 
> \*\*Actual behavior\*\*
> The clipboard contains:
> \`\`\`
> Stub HTML Message
>     
>     
>   
>   
> Copying from the document disabled
> \`\`\`
> 
> \*\*Client details:\*\*
> - OS: Linux
> - Browser newest Firefox or Chromium
> - Device: Desktop
> 
> \## Server details
> 
> \*\*Operating system\*\*: Debian 10
> 
> \*\*Web server:\*\* NGINX 1.21.6
> 
> \*\*Database:\*\* MariaDB 10.3
> 
> \*\*PHP version:\*\* 8.1
> 
> \*\*Nextcloud version:\*\* 24.0.6
> 
> \*\*Version of the richdocuments app\*\* 6.2.1
> 
> \*\*Version of Collabora Online\*\* 22.05-15
> 
> \## Related Issues
> There is another issue over in the server repository: https://github.com/nextcloud/server/issues/34282
> This seems to be the same problem, but probably got opened in the wrong repository

but the problem described was for shares and not internal users with full access…

but the referenced issue might be interesting:

> <https://github.com/nextcloud/server/issues/34282>
>
> \### ⚠️ This issue respects the following points: ⚠️
> 
> \- \[X\] This is a \*\*bug\*\*, no…t a question or a configuration/webserver/proxy issue.
> \- \[X\] This issue is \*\*not\*\* already reported on Github \_(I've searched it)\_.
> \- \[X\] Nextcloud Server \*\*is\*\* up to date. See \[Maintenance and Release Schedule\](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
> \- \[X\] Nextcloud Server \*\*is\*\* running on 64bit capable CPU, PHP and OS.
> \- \[X\] I agree to follow Nextcloud's \[Code of Conduct\](https://nextcloud.com/contribute/code-of-conduct/).
> 
> \### Bug description
> 
> Nextcloud 25
> Working on PC with Microsoft Edge
> On a Nextcloud document I am copying text to a draft on Wordpress, however when I try to c/p there is an error message: "Stub HTML Message Copying from the document disabled"
> Thanks!
> 
> !\[image\](https://user-images.githubusercontent.com/98105430/192486264-67921c79-d2ff-4d10-94d1-2ae3921048dc.png)
> 
> 
> \### Steps to reproduce
> 
> 1. Copy / paste any text in a Nextcloud document
> 2. C / p in a WordPress draft (post)
> 3. You will see the error 
> 
> 
> \### Expected behavior
> 
> I expected my c/p to work as normal.
> 
> \### Installation method
> 
> \_No response\_
> 
> \### Operating system
> 
> \_No response\_
> 
> \### PHP engine version
> 
> \_No response\_
> 
> \### Web server
> 
> \_No response\_
> 
> \### Database engine version
> 
> \_No response\_
> 
> \### Is this bug present after an update or on a fresh install?
> 
> Updated to a major version (ex. 22.2.3 to 23.0.1)
> 
> \### Are you using the Nextcloud Server Encryption module?
> 
> Encryption is Enabled
> 
> \### What user-backends are you using?
> 
> \- \[\] Default user-backend \_(database)\_
> \- \[\] LDAP/ Active Directory
> \- \[\] SSO - SAML
> \- \[\] Other
> 
> \### Configuration report
> 
> \_No response\_
> 
> \### List of activated Apps
> 
> \`\`\`shell
> cloud.nc.com / not sure
> \`\`\`
> 
> 
> \### Nextcloud Signing status
> 
> \_No response\_
> 
> \### Nextcloud Logs
> 
> \_No response\_
> 
> \### Additional info
> 
> Using Microsoft Edge on PC (don't have other browsers)

this is how I **can** reproduce the problem. If you copy from Collabora document and past “unformatted text” the string “Stub HTML Message Copying from this document disabled” is pasted in local LibreOffice Calc

---

<div class="post-metadata">

**Author:** ![ekevu](https://help.nextcloud.com/letter_avatar/ekevu/32/6_22734026db12803ebb3e059622ac3534.png) [@ekevu](https://help.nextcloud.com/u/ekevu)\
**Post date:** [October 17, 2022, 1:39pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/10 "2022-10-17T13:39:50Z")

</div>

Thank you for pointing this out!

Where should I post this mentioned code fix, though?

---

<div class="post-metadata">

**Author:** ![ekevu](https://help.nextcloud.com/letter_avatar/ekevu/32/6_22734026db12803ebb3e059622ac3534.png) [@ekevu](https://help.nextcloud.com/u/ekevu)\
**Post date:** [October 21, 2022, 11:57am UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/11 "2022-10-21T11:57:06Z")

</div>

The latest app update has resolved the issue.

---

<div class="post-metadata">

**Author:** ![sangwinc](https://help.nextcloud.com/user_avatar/help.nextcloud.com/sangwinc/32/58473_2.png) [@sangwinc](https://help.nextcloud.com/u/sangwinc)\
**Post date:** [February 1, 2024, 9:04am UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/12 "2024-02-01T09:04:36Z")

</div>

Dear Nextcloud,  
I’ve just had the same issue. We’re using

COOLWSD version: 23.05.7.5git hash: [e09a622]

I’m the only one in our team affected and it’s very frustrating!  
Chris

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [February 1, 2024, 9:20pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/13 "2024-02-01T21:20:18Z")

</div>

@sangwinc please don’t post _“meetoo”_ below old topics. Chances are high you issue is different. I would recommend to test using different browser (incognito mode) and if you a really the only user from many hitting the issue file a qualified issue at [Collabora forum](https://forum.collaboraonline.com) and maybe be Github…

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [February 1, 2024, 9:20pm UTC](https://help.nextcloud.com/t/nextcloud-office-copy-pasting-disabled/147210/14 "2024-02-01T21:20:25Z")

</div>


