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

Copy & paste of URL inside markdown link results in broken link #4701

Closed
sonst-was opened this issue Mar 23, 2022 · 3 comments
Closed

Copy & paste of URL inside markdown link results in broken link #4701

sonst-was opened this issue Mar 23, 2022 · 3 comments
Labels
editor:copy-paste Clipboard data attached is appreciated. See menu - bug report - clipboard inspector page-ref page reference :status/automatic-closing :status/automatic-stale

Comments

@sonst-was
Copy link

sonst-was commented Mar 23, 2022

What happened?

I have two markdown links in my page:

- [link](https://link.link)
- [example](https://example.example)

When trying to copy one link into the URL-section of the other link another markdown-link is created:
[link]([https://link.link](https://example.example))

Reproduce the Bug

  1. Add two links using markdown (link1 and link2)
  2. Copy the URL of link2 into the URL-section of link1
  3. link1 is now broken

Expected Behavior

Copying and pasting of links works without a problem

Screenshots

Animation

Desktop Platform Information

Windows 10 (Version 10.0.19043.1586)
logseq 0.6.4

Mobile Platform Information

No response

Additional Context

No response

@cnrpman cnrpman added editor:copy-paste Clipboard data attached is appreciated. See menu - bug report - clipboard inspector page-ref page reference labels Mar 23, 2022
@nhan000
Copy link

nhan000 commented Mar 24, 2022

This is probably a feature and not a bug. When Logseq recognizes that you're pasting a link into a piece of text, it understand that you want to turn that piece of text into a link.

(Normally you would have to highlight a piece of text, press Ctrl L and then paste the link. Logseq is trying to cut down on this Ctrl L step).

@andelf
Copy link
Collaborator

andelf commented Mar 24, 2022

in macOS, you can paste with cmd+shift+v to match format.

@github-actions
Copy link

github-actions bot commented Mar 7, 2023

Hi There! 👋

We haven't seen any activity on this issue in a while 😴, and we just wanted to make sure that it's still relevant. If you're still experiencing this issue, you might find it helpful to update to the latest version of Logseq. The latest version includes bug fixes and new features that may help to resolve this issue, and you can download it from our website. If updating to the latest version doesn't help, please let us know by adding a comment 💬. We're here to help!

If the issue has been resolved or is no longer relevant, that's great news! 🎉
We'll go ahead and close this issue to keep our backlog organized. Please note that this issue will be closed automatically in 20 days if there is no further activity. If you need more time to resolve the issue or provide more information, please just let us know by adding a comment.

Access additional Logseq 🚀 resources:

Thanks for your contributions to Logseq! If you have any other issues or feature requests, please don't hesitate to let us know. We always welcome pull requests too!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor:copy-paste Clipboard data attached is appreciated. See menu - bug report - clipboard inspector page-ref page reference :status/automatic-closing :status/automatic-stale
Projects
Archived in project
Development

No branches or pull requests

4 participants