vnote
vnote copied to clipboard
insert relative reference link just keeps file name and reference part missed.
Describe the bug insert relative reference link just keeps file name and reference part missed.
To Reproduce Steps to reproduce the behavior:
- Create a new note file
- Create two first level title Title1 and Title2 in the file
- Copy Title1's link address
- Under Title2, paste the link by "Insert As Link", set text as full_path.
- Click on full_path, focus can go back to Title1
- Under Title2, paste the link by "Insert As Relative Link", set text as rel_path
- 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
Desktop (please complete the following information):
- OS: Windows 11 Pro
- Version 23H2
Additional context