Skip to content

Lost URL content after : when pasting as a link #11245

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

Closed
3 tasks done
joaosimuai opened this issue May 3, 2024 · 4 comments
Closed
3 tasks done

Lost URL content after : when pasting as a link #11245

joaosimuai opened this issue May 3, 2024 · 4 comments
Assignees
Labels
Milestone

Comments

@joaosimuai
Copy link

joaosimuai commented May 3, 2024

URLs containing ":" are excluding content after ":" when pasted from clipboard directly to text as links (after last update)

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

Summed in the title. URLs are properly pasted only INSIDE the "link box" (link, anchor, title...) via right-click, requiring 2 actions instead of 1. It started after the last update, before that I had no problems. I haven't tried other syntax other than ":", sorry.

Expected result

Paste the URL in its entirety from the clipboard to siyuan's on screen plain text, generating a link.

Screenshot or screen recording presentation

No response

Version environment

- Version: v3.0.12
- Operating System: Windows 11 23H2

Log file

siyuan.log

More information

No response

@88250
Copy link
Member

88250 commented May 4, 2024

Please provider the example URL for testing.

@joaosimuai
Copy link
Author

joaosimuai commented May 9, 2024

Please provider the example URL for testing.

Hi!
For example, copying "https://en.wikipedia.org/wiki/Category:Contents", will paste only "https://en.wikipedia.org/wiki/Category" directly into text.

@TCOTC
Copy link
Contributor

TCOTC commented May 9, 2024

Ctrl+K

image

@88250 88250 self-assigned this May 9, 2024
@88250 88250 added the Bug label May 9, 2024
@88250 88250 added this to the 3.0.14 milestone May 9, 2024
@88250 88250 changed the title URLs containing ":" are excluding content after ":" when pasted from clipboard directly to text as links (after last update) Lost URL content after : when pasting as a link May 9, 2024
88250 added a commit to 88250/lute that referenced this issue May 11, 2024

Verified

This commit was signed with the committer’s verified signature.
88250 added a commit that referenced this issue May 11, 2024

Verified

This commit was signed with the committer’s verified signature.
@88250 88250 closed this as completed May 11, 2024
@joaosimuai
Copy link
Author

Hey, thank you very much! 🎉

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

No branches or pull requests

4 participants