estruyf / vscode-front-matter

Front Matter is a CMS running straight in Visual Studio Code. Can be used with static site generators like Hugo, Jekyll, Hexo, NextJs, Gatsby, and many more...

Home Page:https://frontmatter.codes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhancement: Support the same fields types in data files as for front matter content

tohagan opened this issue · comments

Is your feature request related to a problem? Please describe.

The list of field types supported by the Front Matter editor should IMHO be the same as those supported by Data files. For example, I think image and block and contentRelationship fields are equally useful in Data files.

Describe the solution you'd like

I'm recommending you consider replacing the JSON schema editor used to create Data file records with the same editor used to edit Front Matter YAML. So the properties in frontMatter.data.files just become fields.

Thanks for the suggestion. 🙏