srg-kostyrko / obsidian-journal

MIT License
96 stars 7 forks source link

[BUG]: Code blocks — Note is not connected to a journal #3

Closed Mara-Li closed 6 months ago

Mara-Li commented 6 months ago

I configured the plugin, the ribbon command works but when I try to insert

I have the message "Note is not connected to a journal"

What is the problem here? image image

Mara-Li commented 6 months ago

Okay, I found the problem : when creating the note, the frontmatter is not added in the note, it's added as plaintext. This should be fixed using the API for frontmatter editing…

srg-kostyrko commented 6 months ago

I have rechecked and don't see any issues - note related data is added to frontmatter it sounds like some other plugin is interfering do you probably have some templating plugin?

Mara-Li commented 6 months ago

Yeah, I had templater plugin enabled.

srg-kostyrko commented 6 months ago

hm, I tried installing templater but still cannot get frontmatter as plaint text Is templater configured for you to work with folder where daily note is created? is template being applied?

Mara-Li commented 6 months ago

Yes!

srg-kostyrko commented 6 months ago

looks like some kind of timing issue where 2 updates conflict because for me template is not applied at all I'll play around and try to find a solution

srg-kostyrko commented 6 months ago

I released 1.0.1 version - please give it a try to see if it solves problem for you

srg-kostyrko commented 6 months ago

@Lisandra-dev were able to check if issue is gone in latest version?

Mara-Li commented 6 months ago

Yup, work like a charm!