Template variables in frontmatter will be removed by edits in preview mode

In my templates I use this frontmatter line:

created: {{date}}

Switching to the preview mode I see this:

image

After editing another property in this mode I will find this:

created:
“{ date }”:

And after applying the template the creation date will not be set:

image

The same for {{title}}.

The issue came up with the new properties feature.

1 Like

Please complete the bug report template when submitting bug reports. Thanks.

You could try editing the templates in Source mode.

It looks the issue template is not needed anymore :slight_smile:

The solution / workaround was clear. The normal flow would be writing in the preview mode, not in source mode. Otherwise the property editor makes no sense. From this perspective it is still an issue. Maybe you can address it in a later release.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.