logseq / logseq/db-test

Copying text messes up the data, so copy & paste is broken

Open
#935 3 comments 0 reactions 1 assignee View on GitHub

@tiensonqin is already working on this.

Since Jun 19, 2026.

bug editor:copy-paste
Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

When i copy selected text, it gets changed!

Image

becomes:

```
- deinstalliert. man wird nach dem stant angfbote geld auszugeben



- nach dem eigentlichen spielfn werbung
```

and that can not be pasted into Logseq OG!

There are 3 additional lines added with 2 whitespaces.

### Reproduce the Bug

1. select multiple lines of text
2. copy or cut
3. paste into text editor

### Expected Behavior

the text should be copied exactly as-is and not get changed in any way

### Screenshots

Demonstration: https://youtu.be/owPKO_OD5d4?si=SHqwqnoeOAz7xrGa&t=49

Since i can't select the text or use the copy button, here are screenshots of the raw block data. The text itself looks fine.

Image
Image

### Files

_No response_

### Browser, Desktop or Mobile Platform Information

NixOS 25.11.10684.8fd9daa3db09
Logseq Desktop 2.0.1-alpha+nightly.20260609

### Additional Context

WTF, how can you mess this up???

The text was synced from Android App.

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.