Templater
Templater copied to clipboard
calendar-ui modal
Is your feature request related to a problem? Please describe.
I would like to access the obsidian-calendar-plugin
in a modal when inserting a template using templater
. I would find it useful for inserting dates as well as have the functionality of obsidian-calendar-plugin
regarding daily/weekly notes.
Describe the solution you'd like
The ui of obsidian-calendar-plugin
is available as a separate package so this should be rather easy to implement.
this.calendar = new Calendar({
target: contentEl, // the HTML element you're attaching it to
props: {},
});
Describe alternatives you've considered I first opened an issue over at liamcain/obsidian-calendar-plugin#209 where I presented a few alternatives where especially the second post about relocating the calendar view to a modal tree is the most interesting but not that simple.
I'm considering creating my own plugin, but I would much rather prefer to have it accessible directly from templater
. Because
- my JS skills are rusty and not very good anyway,
- I find it more convenient to this feature in same plugin I mostly use anyway,
- I think it would be a nice and useful feature for
templater
to have and, - I don't think it should be that complicated to implement.