beaussan / update-time-on-edit-obsidian

MIT License
165 stars 15 forks source link

can't add blank line in yaml #64

Closed l2eused closed 7 months ago

l2eused commented 10 months ago

I can't add any blank line in yaml while this plugin is enable. when I try to add blank line in yaml, in few sec later it will delete that line.

Is this problem can fix? because

plasmabit commented 10 months ago

This and #56 happens because the plugin uses Obsidian's API to modify metadata since 2.0.0. That's how it's intended to work. I used to use this plugin, but after the update, I didn't like this behavior either, so I created a new plugin myself which has a way with dealing with metadata without using Obsidian's API. It's called Time Things. You can try it by installing manually from my repo, or waiting until it comes to the community plugin list. You can use it until Obsidian's team addresses this issue. Keep in mind that my plugin is not a replacement to this plugin, because it doesn't have some functionality that may be important for you, like excluding folders, yet.