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

insert relative reference link just keeps file name and reference part missed. #2515

Open
hitanvil opened this issue Jun 18, 2024 · 0 comments

Comments

@hitanvil
Copy link

Describe the bug
insert relative reference link just keeps file name and reference part missed.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new note file
  2. Create two first level title Title1 and Title2 in the file
  3. Copy Title1's link address
  4. Under Title2, paste the link by "Insert As Link", set text as full_path.
  5. Click on full_path, focus can go back to Title1
  6. Under Title2, paste the link by "Insert As Relative Link", set text as rel_path
  7. Click on rel_path, focus does not change

Expected behavior
It is expected that both full path and rel path can change focus to Title1.
The problem dues to when inserting relative link, only file name is kept but #Title1 part are missed. It is shown in below screenshots.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11 Pro
  • Version 23H2

Additional context

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

No branches or pull requests

1 participant