Problems with Frontmatter data

Hi,

today I realised a bit of a strange problem.

Very often I use frontmatter data to store additional information. On some of my pages I have a widget for displaying this data from frontmatter, some with calculated additional fields.

Before my latest update of silverbullet (so I think somewhere just before 2.8) I got the widgets refreshed, as soon as I move the cursor in and out of the ${widget.myspecialwidget()} string.

Also on opening a page with that widget or changing the page to another and back would refresh the widget.

That does not happen anymore.

Steps to reproduce:

  1. Add some strings to frontmatter of a page.
  2. Add this to your page:
    ${(index.extractFrontmatter(editor.getText())).frontmatter}
  3. see the empty table where something of your frontmatter should be displayed.
  4. Only after klicking the widgets refresh button shows content.

Is this intended? I would at least expect to see the content after opening a page.

Tested with a clean installation, too. Same effect.
Using Version 2.8.0-6-gce97cf24-2026-05-19T08-32-59Z currently.

Thanks for any clue :slight_smile:
Nico

Even more strange:
Switching between different pages with this string on it:
${(index.extractFrontmatter(editor.getText())).frontmatter}

The displayed table shows data from the previous open page?

Note:

Tried with release 2.7.0, Problem NOT existent.

Latest edge 2.8.0-19-gbe3cc4b0-2026-05-19T15-31-08Z: Problem still there.

No helpful messages in Developer-Console.

As I found some more possible related issues, I created an issue for better tracking:

Found a workaround to my main problem.
Using "${editor.getCurrentPageMeta()}" instead seems to work as expected.