Copy and Paste multiple lines from Logseq OG messes up links

Open
#1,427 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
frontend

Research direction

The issue names no files, functions or tests, so start by reproducing it: copy the two-line sample with [[links]] from Logseq OG and paste it into Logseq DB, then find the paste handler that converts clipboard content into blocks. Done means the pasted text keeps its [[Test]], [[Logseq]], [[System]], [[Gehirn]] and [[Selbstausdruck]] links, with a regression test for multi-line paste.

Written by the indexing model from the issue text.

Description

Search first
  • I searched and no similar issues were found
What Happened?

When i copy and paste multiple lines from Logseq OG with links, the links disappear.

Reproduce the Bug
  1. Copy these lines from Logseq OG (not the selected text)
- I want to [[Test]] the [[Logseq]] copy and paste function.
- Some pages are [[System]], [[Gehirn]] und [[Selbstausdruck]].
  1. Paste into Logseq DB
Expected Behavior

Same text pasted

Screenshots
Image
Files

No response

Browser, Desktop or Mobile Platform Information

NixOS 26.05.8409.f4f698677b11
Logseq-linux-x86_64-2.0.2

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.
  • I'm willing to submit a PR (Thank you!)
Dominant language
No language data
Stars
29
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from logseq/db-test

All issues in logseq/db-test

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.