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

[Bug] Partial code copy in Chrome broken #144

Closed
simonhir opened this issue Oct 21, 2024 · 3 comments · Fixed by #249
Closed

[Bug] Partial code copy in Chrome broken #144

simonhir opened this issue Oct 21, 2024 · 3 comments · Fixed by #249
Assignees

Comments

@simonhir
Copy link
Member

Describe the bug
When copying just a part of a code block the output has linebreaks after each word when inserted.

image
becomes

private
 
ProcessDmsExportInPort
 processDmsExportInPort
;

To Reproduce

  1. Generate some code in Chrome
  2. Copy just a part of it into another programm
  3. The inserted content has linebreaks after each word

Expected behavior
The inserted content is the same as the copied one without additional linebreaks.

Desktop (please complete the following information):
Seems to affect Chrome only

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

@github-actions github-actions bot added the Stale label Dec 21, 2024
@simonhir
Copy link
Member Author

simonhir commented Jan 7, 2025

Bug still exists

@Meteord Meteord self-assigned this Jan 7, 2025
@Meteord
Copy link
Contributor

Meteord commented Jan 7, 2025

Error in syntax-highlighter when enabling wrapLongLines and showLineNumber :

react-syntax-highlighter/react-syntax-highlighter#432

We will disable line numbers till it is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants