Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code/quote text is copied with markdown symbols #1228

Open
RTechSn opened this issue Feb 4, 2024 · 2 comments
Open

Code/quote text is copied with markdown symbols #1228

RTechSn opened this issue Feb 4, 2024 · 2 comments
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced

Comments

@RTechSn
Copy link

RTechSn commented Feb 4, 2024

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 RTechSn added bug Something isn't working need to reproduce Issue that has not been reproduced labels Feb 4, 2024
@poiNt3D
Copy link

poiNt3D commented Feb 7, 2024

I confirm this.

@elzody
Copy link

elzody commented Mar 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced
Projects
None yet
Development

No branches or pull requests

3 participants