heatmap-calendar-obsidian icon indicating copy to clipboard operation
heatmap-calendar-obsidian copied to clipboard

Hover preview not working

Open TDebono opened this issue 2 years ago • 6 comments

Hey!

I noticed that the hover preview is not working for me. I tried replicating the examples provided in the example vault in my own vault, but for none of them the hover preview is working.

Are you aware of anything that could be preventing the hover preview from working properly?

Thanks!

TDebono avatar Aug 25 '22 10:08 TDebono

Hi I recently started using this plugin and also had the same issue at the beginning. Is it possible that you simply forgot to set the content?

calendarData.entries.push({
        date: page.file.name,
        intensity: 100,
        content: await dv.span(`[](${page.file.name})`),
})

Morekon avatar Sep 10 '22 16:09 Morekon

I am having the same issue. When I put in the code above, it returning the actual string

image

rossoj85 avatar Sep 22 '22 20:09 rossoj85

Got it working using this code:

image

rossoj85 avatar Sep 22 '22 20:09 rossoj85

It's still not working here.

darkmarcos avatar Oct 20 '23 18:10 darkmarcos

This isn't working for me, either.

Bsaubolle avatar Dec 28 '23 18:12 Bsaubolle

Any resolution? I can get the full page to respond to the hover when using this syntax:

content: dv.span([[${page.file.name}|]]),

but when i use the syntax in the documentation the content is rendered in the visual as though renderHeatmapCalendar function is not handling the content attribute as a tooltip, but rather as direct text to be displayed.

HufferDavid avatar Jan 13 '24 00:01 HufferDavid