Allow items links in editors

This commit is contained in:
2022-09-28 15:43:48 +02:00
parent 895a722f4c
commit fa0b989c86
4 changed files with 12 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ export class YggdrasillFigurantSheet extends ActorSheet {
}
/* -------------------------------------------- */
getData() {
async getData() {
const objectData = duplicate(this.object)
let formData = {
@@ -42,6 +42,8 @@ export class YggdrasillFigurantSheet extends ActorSheet {
monnaies: this.actor.getMonnaies(),
optionsAttr: new Array(41).fill('option'),
optionsBase: YggdrasillUtility.createDirectOptionList(0, 20),
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
notes: await TextEditor.enrichHTML(this.object.system.notes, {async: true}),
options: this.options,
owner: this.document.isOwner,
editScore: this.options.editScore,