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

@ -45,8 +45,8 @@ export class RdDActorSheet extends RdDBaseActorSangSheet {
cssClass: this.isEditable ? "editable" : "locked",
limited: this.actor.limited,
owner: this.actor.isOwner,
biographie: await RdDTextEditor.enrichHTML(this.actor.system.biographie),
notes: await RdDTextEditor.enrichHTML(this.actor.system.notes),
biographie: await RdDTextEditor.enrichHTML(this.actor.system.biographie, this.actor),
notes: await RdDTextEditor.enrichHTML(this.actor.system.notes, this.actor),
});
foundry.utils.mergeObject(formData.calc, {
surenc: this.actor.computeMalusSurEncombrement(),