You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I had the same problem. The issue is that metaedit splits the file content by "/n", searches for the key in each line, and then replaces the line when it finds the appropriate key. I edited the "updatePropertyInFile" function to instead split the file content into frontmatter and body content. It then uses obsidian's inbuilt parseYaml and stringifyYaml functions on the frontmatter, and uses the existing approach on the body content.
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:
I edited the string and ended up with:
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
The text was updated successfully, but these errors were encountered: