Frontmatter cssclass property is not applied to popovers for links targeting a callout

Steps to reproduce

  • Add a note with a cssclass frontmatter property.
    • Add a callout in the same note and give the callout a block identifier
  • In a separate note, add a link to the callout using the block identifier
  • Hover over the link to make the popover appear
    • Inspect the HTML for the popover to see that the CSS class from the frontmatter of the note the callout is from is not added to the popover

Did you follow the troubleshooting guide?

Y

Expected result

A popover to a callout should include any CSS classes from the callout’s note’s frontmatter.

Actual result

The CSS classes from the cssclass frontmatter property are not applied to the popover.

Environment

SYSTEM INFO:
Obsidian version: v1.3.5
Installer version: v1.3.5
Operating system: Darwin Kernel Version 22.6.0: Mon May 22 20:21:07 PDT 2023; root:xnu-8796.140.17.505.3~3/RELEASE_ARM64_T8103 22.6.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

The CSS classes from cssclass are correctly applied to popover’s for links to notes or headings. They only seem to be missing for links to callouts.

We don’t support this, open a feature request.