Can this be done using pure Javascript, and not TypeScript?
I found this thread when working with the thread below, almost at the same time I saw the plugin Link with alias. But could this type of modal / class extension be done from within dataviewjs or a javascript block in Templater (or some other javascript block)?
@holroy yes, it can be done using just JavaScript, however it’s a bit tricky because we don’t have an easy access to the obsidian module which we need to get access to SuggestModal base class. It’s easier to access obsidian module from the Templater code because they have tp.obsidian. However from dataviewjs it’s way more difficult.