mdelobelle / metadatamenu

For data management enthusiasts : type and manage the metadata of your notes.
https://mdelobelle.github.io/metadatamenu
MIT License
478 stars 27 forks source link

fileClass properties moving to front matter and stops working #614

Closed deanord closed 4 months ago

deanord commented 4 months ago

I'm having multiple issues, which I'm assuming are related somehow.
I've tried uninstalling, reinstalling, deleting all fileclasses, and recreating all fileclasses.

I have a fileClass called "issues." I create the fileClass using the metadata menu interface (i.g., the "+" sign after the fileClass folder).

After creation, the new fields are no longer in-line metadata, but have instead moved to the frontmatter.
image

When this happens to a fileClass, it no longer works. When looking at the Manage Fields, Display Table View, I get this: image

If I delete the fileClass and recreate it, the same things keep happening. The only fileClasses that work are those with inline field definitions.

I've tried turning off every plugin except for dataview and metadata menu.

To reproduce:

  1. create a new fileclass using the metadata menu interface. image
  2. add a new field image
  3. navigate away from fileclass, then come back to it
  4. properites have been moved to frontmatter and the fileclass doesn't work

    fields:

    • name: test_boolean type: Boolean options: {} path: "" id: Xqtx4t version: "2.0" limit: 20 mapWithTag: false icon: package tagNames: filesPaths: bookmarksGroups: excludes: extends: savedViews: [] favoriteView: fieldsOrder:
    • Xqtx4t

What am I missing?

deanord commented 4 months ago

Found the culprit: The Trim Whitespace plugin was reformatting the front matter and breaking it.