#You would mutate the HTML in the hook
1 messages · Page 1 of 1 (latest)
thanks! I've been able to do it but the entire sidebar gets moved whenever I do that; do I need to recall something?
Hooks.on("renderSidebar", async function (sidebar, context, tabs) {
$('[data-tab="cards"]', context).remove();
return [sidebar, context, tabs];
});
-
You don't need to removed anything.
-
What do you mean "moved" exactly?