I do wonder. Did .8 break more things than .7? I'm curious if this ritual is normal for each milesto
I do wonder. Did .8 break more things than .7? I'm curious if this ritual is normal for each milestone release.
ContextMenu class?getXXXXDirectoryEntryContext hook and then modify the contextEntries argument. I don't think it would be easy to use a click instead. That would probably require making your own hook or somethingnew ContextMenu(html, ".directory-item", menuItems); is the only bit of the code that actually deals with creating the contextMenu (which then promptly vanishes into the abyss, never to be usefully referenceable again)ContextMenugetXXXXDirectoryEntryContextnew ContextMenu(html, ".directory-item", menuItems);Hooks.on('getJournalDirectoryEntryContext', (_html, contextEntries) => {
contextEntries.push({
name: "myFormApp",
icon: `<i class="fas fa-code"></i>`,
condition: {},
callback: data => {
new myFormApp().render(true);
}
})
});