I’ve tried inlining (<button onclick=“Go to last meetinggg” >Last meeting)
attaching events through the console or dataviewjs blocks… but no luck.
I know there’s a plugin for buttons but being able to just call a JS function and manage my button as an HTML elem is way more versatile for my use case. Plus I don’t have to depend/learn one thing more.
From the Obsidian API ref I havent found anything, but maybe I’m missing something. Is there a way to register event’s to specific elements ?
The most ideal solution here is that users have control over which things Obsidian filters out of the HTML through the settings. This would be amazing for my use case but sadly seems like it’s not going to happen