czottmann / obsidian-mononote

An Obsidian plugin that ensures each note occupies only one tab. If a note is already open, its existing tab will be focussed instead of opening the same file in the current tab.
https://obsidian.md/plugins?id=zottmann
MIT License
89 stars 2 forks source link

When opening a link to a section a new instance of the same note is opened. #15

Closed 3tch-a-sketch closed 7 months ago

3tch-a-sketch commented 7 months ago

Recreation

Create a section within a note Create a link to that section Ctrl + Click the link Two instances of the same note open

Minimal Reproducible Example

# example 
[[#example]]

Intended Behaviour

The section would be highlighted in yellow without opening a new instance.

czottmann commented 7 months ago

Thanks for the report, @3tch-a-sketch. I can't reproduce this behaviour, tho. It works as expected for me on Obsidian v1.5.3 and Mononote v1.1.1. Which versions are you on?

3tch-a-sketch commented 7 months ago

You are absolutely correct. For some reason mononote was V1.0 after updating the issue is fixed.