My plugin is purely based on menu commands and I want to add a “Help” command, which would open a dialog by calling
uxpShowModal(). But as there’s no HTML, where do I put my modal HTML so that I could access it and display?
Or would this be a proper way?
const dialog = document.createElement("div"); <...> dialog.uxpShowModal();
Didn’t notice such case in the samples repo
No matter how I try, I get:
<…> uxpShowModal is not a function