YukiGasai / obsidian-google-calendar

Add Google Calendar inside Obsidian
https://yukigasai.github.io/obsidian-google-calendar/
GNU General Public License v3.0
342 stars 24 forks source link

{{LINKCURRENT}} placeholder causes event note creation to fail #264

Open samawelch opened 1 month ago

samawelch commented 1 month ago

Hi! Thanks for all your work on the plugin - easily my favourite calendar implementation for Obsidian.

I've been running into a bug with creating event notes that I think I've finally tracked down the source of.

Some of my existing templates use the {{LINKCURRENT}} placeholder, which automatically links them to the active page when they were created. However, when I use these templates with the Create eventnote button, I get a "Template not compatible" error and it creates a blank eventnote instead.

Do you know why this is happening? Obviously there's no active note in this case, as I'm going through the Google Calendar UI, but it would be nice to know if I can fix the issue without removing the placeholder entirely.