notes icon indicating copy to clipboard operation
notes copied to clipboard

Code/quote text is copied with markdown symbols

Open RTechSn opened this issue 1 year ago • 2 comments

Hello. The last update brought a major inconvenience when working with Notes via a web browser.

Steps to reproduce

  1. Open a note containing some code\commands you want to copy to your shell\ide
  2. Copy a quoted text

Expected behaviour

The text that is selected via UI should be copied

Actual behaviour

Extra ` or > symbols are added to the text

Server

Please complete the following information.

  • Notes app version: 4.9.2
  • Nextcloud version: Nextcloud Hub 7 (28.0.2)
  • OS: Ubuntu 22.04
  • Web server: Firefox 122.0
  • PHP version: 8.1-FPM
  • Database: PostgreSQL

RTechSn avatar Feb 04 '24 11:02 RTechSn

I confirm this.

poiNt3D avatar Feb 07 '24 20:02 poiNt3D

Hello! I believe this is an issue which is currently being worked out, and the appropriate behavior for copy-pasting markdown vs. raw text is being defined further. There should however be a 'copy code' button now on code blocks which will help if you're copying code from a code block or copying a simple shell command or something. This may help for now

elzody avatar Mar 14 '24 16:03 elzody