MetaEdit icon indicating copy to clipboard operation
MetaEdit copied to clipboard

Metaedit doesn't edit arrays of tags properly.

Open Smitty010 opened this issue 1 year ago • 1 comments

Not sure whether I'm looking for a bug fix or an enhancement.

I tried to update my tags in the frontmatter using the frontmatter editor:

tags: 
- state/inprogress
- course-flash/writing-obsidian-plugins

I edited the string and ended up with:

tags: state/finished,course-flash/writing-obsidian-plugins
- state/inprogress
- course-flash/writing-obsidian-plugins

Not what I was expecting. I'm not sure how you are getting the original value of the tags ("state/inprogress,course-flash/writing-obsidian-plugins"), but either you should display a warning saying you don't edit arrays or it should work. Just my 2 cents. I should probably mention I did this via the metaedit command in the command palette, not the api

Smitty010 avatar May 19 '23 19:05 Smitty010