Skip to content

Metaedit doesn't edit arrays of tags properly. #94

@Smitty010

Description

@Smitty010

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions