This commit is contained in:
WBHarry 2026-03-09 14:18:27 +01:00
parent 708056713b
commit 0e3f2fe632
11 changed files with 51 additions and 99 deletions

View file

@ -252,7 +252,7 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
/* If any noticeable slowdown occurs, consider replacing with enriching description on clicking to expand descriptions */
for (const item of this.items) {
item.system.enrichedDescription =
(await item.system.getEnrichedDescription?.()) ??
(await item.system.getEnrichedDescription?.({ inCompendium: true })) ??
(await foundry.applications.ux.TextEditor.implementation.enrichHTML(item.description));
}