Issue: v6.1.1869350 removes empty frontmatter fields on updates #208

Closed
opened 2026-10-05 02:33:37 +02:00 by adam · 1 comment
Owner

Using v6.1.1869350

When I make changes to a file through the UI or by updating the date by saving, empty front-matter fields are removed. I'm assuming this is a bug, as the CMS shouldn't delete existing data except as replacing existing values through the UI.

If I manually add a value to an empty field in the editor, that field remains after the save.

EDIT: The behavior went back as expected after uninstalling the extension. My assumption is that changes made to the parsing caused this behavior.

Using v6.1.1869350 When I make changes to a file through the UI or by updating the date by saving, empty front-matter fields are removed. I'm assuming this is a bug, as the CMS shouldn't delete existing data except as replacing existing values through the UI. If I manually add a value to an empty field in the editor, that field remains after the save. EDIT: The behavior went back as expected after uninstalling the extension. My assumption is that changes made to the parsing caused this behavior. <!-- github-sync-id:1145962967 -->
adam closed this issue 2026-10-05 02:33:37 +02:00
Author
Owner

Thanks, @johnfuller should be fixed. This was related to issue #242. Good catch!

Thanks, @johnfuller should be fixed. This was related to issue #242. Good catch! <!-- github-comment-id:1047083050 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#208