Add a way to auto-convert images in the chat into the img HTML tag

This commit is contained in:
Oliver 2025-12-13 01:35:27 -07:00
parent 18021a32e4
commit 2a55ff522e
2 changed files with 123 additions and 0 deletions

View file

@ -19,6 +19,7 @@ import { HotbarSettingsMenu } from "./apps/HotbarSettingsMenu.mjs";
// Misc
import { __ID__ } from "./consts.mjs";
import { chatImageLinks } from "./settings/chatImageLinks.mjs";
const { deepFreeze } = foundry.utils;
const status = {};
@ -46,6 +47,7 @@ Hooks.on(`setup`, () => {
status.hotbarButtonGap = hotbarButtonGap();
status.repositionHotbar = repositionHotbar();
status.chatImageLinks = chatImageLinks();
status.chatSidebarBackground = chatSidebarBackground();
status.startSidebarExpanded = startSidebarExpanded();
status.startingSidebarTab = startingSidebarTab();