Gestion des blocs secrets dans les descriptions

This commit is contained in:
2025-01-11 02:19:56 +01:00
parent b87f406093
commit 7e736a00d7
7 changed files with 22 additions and 17 deletions

View File

@ -36,8 +36,8 @@ export class RdDBaseActorSheet extends ActorSheet {
img: this.actor.img,
name: this.actor.name,
system: this.actor.system,
description: await RdDTextEditor.enrichHTML(this.actor.system.description),
notesmj: await RdDTextEditor.enrichHTML(this.actor.system.notesmj),
description: await RdDTextEditor.enrichHTML(this.actor.system.description, this.actor),
notesmj: await RdDTextEditor.enrichHTML(this.actor.system.notesmj, this.actor),
options: RdDSheetUtility.mergeDocumentRights(this.options, this.actor, this.isEditable),
effects: this.actor.effects
}