mdelobelle / metadatamenu

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

fileClass settings not appearing in a file #473

Open Cochonnes opened 11 months ago

Cochonnes commented 11 months ago

Hey, so since a few weeks now, my fileClass settings are no longer appearing when I try to edit them in a file. The file knows which fileClass it belongs to, and under the fileClass itself, I can also see the note being created.

image

mdelobelle commented 11 months ago

Hi. Do you have an error in the console? Can you paste the contebt of "testNote.md"?

Cochonnes commented 11 months ago

Hey, I get this error:

plugin:metadata-menu:21390 Uncaught TypeError: n.className.includes is not a function at eval (plugin:metadata-menu:21390:26) at NodeList.forEach () at eval (plugin:metadata-menu:21388:31) at Array.forEach () at MutationObserver.eval (plugin:metadata-menu:21386:15)

I tested using only YAML front matter and the rest of the note being empty. The error occurs on both :
---

alias: tags:

mdelobelle commented 11 months ago

can you access the options to modify the fields through the command palette? (Metadata Menu: Field Options)

Cochonnes commented 11 months ago

Sorry, where exactly would I find that?

mdelobelle commented 11 months ago

type Cmd+P (on Mac. not sure for windows) then Metadata Menu: Field Options

Cochonnes commented 11 months ago

When I do that, I get the same empty field from the screenshot above.