chhoumann / MetaEdit

MetaEdit for Obsidian
https://bagerbach.com
GNU General Public License v3.0
410 stars 17 forks source link

don't duplicate properties inside folders #20

Open joethei opened 3 years ago

joethei commented 3 years ago

When adding a new property which already exists inside the Frontmatter using the new folder manipulation currently the plugin adds a duplicate.

---
tags: [tag]
...
tags:
- tag1
- tag2
---

It would be nice if the plugin adds/overwrite instead of creating a duplicate.

chhoumann commented 3 years ago

I've addressed this in 1.6.9 but will add a better handling for it once I have more time.

Currently, it'll skip the file if the YAML property already exists. That way, we at least avoid duplicates.

https://github.com/chhoumann/MetaEdit/releases/tag/1.6.9

Leaving this issue open, so I can revisit the feature suggestions. Definitely something I want to add.

Thank you!