Enable links in editor

This commit is contained in:
2022-09-27 21:27:38 +02:00
parent c34bfbf229
commit f08ec8eaff
6 changed files with 10 additions and 5 deletions

View File

@ -63,10 +63,14 @@ export class MournbladeItemSheet extends ItemSheet {
limited: this.object.limited,
options: this.options,
owner: this.document.isOwner,
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
mr: (this.object.type == 'specialisation'),
isGM: game.user.isGM
}
if ( objectData.type =="don") {
sacrifice = await TextEditor.enrichHTML(this.object.system.sacrifice, {async: true})
}
//this.options.editable = !(this.object.origin == "embeddedItem");
console.log("ITEM DATA", formData, this);
return formData;