You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If using markdown links instead of wiki links, selecting text and creating a link using "Link with alias" overwrites the selected text with the link itself instead of using the selected text as the link text.
To Reproduce
Steps to reproduce the behavior:
Go to Settings -> Files and links -> and disable "Use [[Wikilinks]]"
Go to Settings -> Community plugins -> Link with alias -> click the gear cog and unselect "Copy selected text as link file"
From with a note, select some text and then run command "Link with alias: create link with alias".
You should now be inside of a newly created link with auto complete enabled to input a link. Start typing to select a note to link to. When you select a note, the highlighted text will be replaced with the link for the selected note, replacing the highlighted text.
Expected behavior
Everything works as expected until item 4 above. When I select a note, I expect that note to be used as the link inside the parentheses of the new markdown link, and the highlighted text to be used as the link text within the square brackets.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional Information
Current example:
highlighted text -> my note file
Note: I never tried to switch off Wiki links. I like wiki links so it fits to my purposes. Therefore it is not urgent problem for me and has no priority for me. Anyway I confirm that it is bug, which should be solved and I will welcome a related pull request and I want to provide some technical support to fix the problem if needed.
Describe the bug
If using markdown links instead of wiki links, selecting text and creating a link using "Link with alias" overwrites the selected text with the link itself instead of using the selected text as the link text.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Everything works as expected until item 4 above. When I select a note, I expect that note to be used as the link inside the parentheses of the new markdown link, and the highlighted text to be used as the link text within the square brackets.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional Information
Current example:
highlighted text -> my note file
Expected:
highlighted text -> highlighted text
The text was updated successfully, but these errors were encountered: