nextcloud / notes

✎ Distraction-free notes and writing
https://apps.nextcloud.com/apps/notes
GNU Affero General Public License v3.0
623 stars 133 forks source link

Code/quote text is copied with markdown symbols #1228

Open RTechSn opened 9 months ago

RTechSn commented 9 months ago

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.

poiNt3D commented 9 months ago

I confirm this.

elzody commented 8 months ago

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