Closed Stakker closed 8 months ago
Hi @Stakker, thanks for the kind words! Yes, that issue is known, I've added a section "Known Issues" to the README a day or two ago. π
1.0 is out and awaiting Community Plugin review, indeed! Fingers crossedβ¦
This is such a must have in Obsidian, I don't understand why that default behavior they chose. Thanks for creating this.
This is definitely a deal-breaker. Hope it can be fixed soon.
I'll look into it soon β but truth be told, Mononote is currently not my priority project, so it might take a while.
I'm unable to fix this at the moment. Reason:
file-open
event (which is what Mononote listens to).file-open
event (so Mononote is not invoked).I'll leave this ticket open for the time being and will revisit the issue in a couple of months.
@Stakker @saif-ellafi @yaozhenx I've found a workaround which does the trick. The fix will be part of the upcoming v1.1, due soon!
@czottmann Good to hear that. Mind to explain what the workaround is?
@yaozhenx I've completely ditched the file-open
handler and instead focussed on the active-leaf-change
handling which fires whenever the active tab situation changes. Opening files triggers the event (if the "Always focus new tabs" setting is on), so does switching tabs. This is working well, especially since Obsidian won't fire a file-open
for every file or tab it opens, it's just not sufficient for what I'm trying to achieve.
That means that for Mononote to work correctly, Settings β Editor β Always focus new tabs must now be enabled. More in the release notes, likely tomorrow morning.
Awesome :-) π
This is a very small issue, but I just noticed this, so thought I'd mention it anyway :-) Otherwise everything's been working smoothly so far π
Also, it seems 1.0 was released just yesterday, so congrats! Updated my BRAT to point to it, but I guess it will be found in Community Plugins soon?
ZCO-227