Fix notes + CSS

This commit is contained in:
2023-10-25 00:00:30 +02:00
parent 8af5851246
commit 2c92dd6ef9
30 changed files with 81 additions and 68 deletions

View File

@@ -12,7 +12,7 @@ export class MaleficesActorSheet extends ActorSheet {
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
classes: ["fvtt-malefices", "sheet", "actor"],
classes: ["fvtt-malefices", "sheet", "actor", "malefices-actor-sheet"],
template: "systems/fvtt-malefices/templates/actors/actor-sheet.hbs",
width: 640,
height:680,
@@ -44,8 +44,8 @@ export class MaleficesActorSheet extends ActorSheet {
phyMalus: this.actor.getPhysiqueMalus(),
elementsbio: this.actor.getElementsBio(),
sorts: this.actor.getSorts(),
description: await TextEditor.enrichHTML(this.object.system.description, { async: true }),
notes: await TextEditor.enrichHTML(this.object.system.notes, { async: true }),
description: await TextEditor.enrichHTML(this.object.system.biodata.description, { async: true }),
notes: await TextEditor.enrichHTML(this.object.system.biodata.notes, { async: true }),
equipementlibre: await TextEditor.enrichHTML(this.object.system.equipementlibre, { async: true }),
options: this.options,
owner: this.document.isOwner,
@@ -54,7 +54,7 @@ export class MaleficesActorSheet extends ActorSheet {
}
this.formData = formData;
console.log("PC : ", formData, this.object);
console.log("PC : ", formData, this.object );
return formData;
}