Trying to create a new note by typing [[ when line has existing link with | results in whole string of text up to that | added to the list of notes

Steps to reproduce

  1. Create a note with an existing link that uses the | to display other text.
  2. Pick any word before that link, and type [[ before it. The idea is that I have some existing text in the sentence that I want it to link to a new (not yet created) note.
  3. Type the name of the new note (e.g. A note that is new)

Expected result

  1. The long/partially completed text (which ends at the next | of the existing link) should not be added to the list of notes for linking.
  2. Typing the | should not insert the first item in the list (because there should be nothing in the list, it’s a new note)

Actual result

  1. The long/partially completed text (which ends at the next | of the existing link) appears as the first item in the dropdown list.

Environment

  • Operating system: Windows 10
  • Obsidian version: v0.6.4
  • Using custom CSS: No

Additional information

  1. Video recording can be found here

Yes, I can reproduce. It’s annoying. @licat, can look into this.

Will be fixed in next release!

1 Like