Add rolls and new fixes
All checks were successful
Release Creation / build (release) Successful in 1m2s
All checks were successful
Release Creation / build (release) Successful in 1m2s
This commit is contained in:
@@ -6,7 +6,7 @@ export default class HellbornTarotSheet extends HellbornItemSheet {
|
||||
classes: ["tarot"],
|
||||
position: {
|
||||
width: 800,
|
||||
height: 640
|
||||
height: 800
|
||||
},
|
||||
window: {
|
||||
contentClasses: ["tarot-content"],
|
||||
@@ -23,8 +23,9 @@ export default class HellbornTarotSheet extends HellbornItemSheet {
|
||||
/** @override */
|
||||
async _prepareContext() {
|
||||
const context = await super._prepareContext()
|
||||
context.enrichedPositiveEffect = await TextEditor.enrichHTML(this.document.system.positiveEffect, { async: true })
|
||||
context.enrichedNegativeEffect = await TextEditor.enrichHTML(this.document.system.negativeEffect, { async: true })
|
||||
context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
|
||||
context.enrichedPositiveEffect = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.positiveEffect, { async: true })
|
||||
context.enrichedNegativeEffect = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.negativeEffect, { async: true })
|
||||
return context
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user