ivan-lednev / obsidian-day-planner

An Obsidian plugin for day planning with a clean UI and a simple task format
MIT License
2.11k stars 496 forks source link

Drag+Drop messing with YAML Front Matter? #625

Open willschetelich opened 2 days ago

willschetelich commented 2 days ago

Please check that this issue hasn't been reported before.

Expected Behavior

Usually, when I 'drag and drop' on the timeline, day planner appends the text to the end of my daily note, not affecting anything else in my daily note.

Thanks so much for the help!!!!!!

Current behaviour

Now, whenever I drag and drop, it affects the rest of my daily note, messing with my YAML!

Steps to reproduce

Picture 1: My daily note when I have just created it, using a template.

Screenshot 2024-11-11 at 10 13 38 AM Screenshot 2024-11-11 at 10 14 02 AM

Picture 2: When I drag and drop in the timeline one time!

Which Operating Systems are you using?

Obsidian Version

1.7.5

Possible solution

I believe the problem has to do with it adding '***' at the start of my daily note! Messing with front matter!

willschetelich commented 2 days ago

PS - I love your plugin, it has helped me so much!!!

willschetelich commented 2 days ago

UPDATE! SOLVED IT! Just had to add

Day Planner

to my daily notes template!! Thanks!!!

willschetelich commented 2 days ago
Screenshot 2024-11-11 at 10 37 15 AM

Just add it to the template!