Fix #15: Notes/Description for protagonist sheet
This commit is contained in:
		| @@ -73,6 +73,9 @@ export default class CthulhuEternalProtagonistSheet extends CthulhuEternalActorS | ||||
|     const context = await super._prepareContext() | ||||
|     context.tabs = this.#getTabs() | ||||
|  | ||||
|     context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) | ||||
|     context.enrichedNotes = await TextEditor.enrichHTML(this.document.system.notes, { async: true }) | ||||
|      | ||||
|     context.tooltipsCharacteristic = { | ||||
|       str: game.i18n.localize("CTHULHUETERNAL.Characteristic.Str"), | ||||
|       dex: game.i18n.localize("CTHULHUETERNAL.Characteristic.Dex"), | ||||
|   | ||||
| @@ -17,11 +17,11 @@ | ||||
|  | ||||
|   <fieldset> | ||||
|     <legend>{{localize "CTHULHUETERNAL.Label.description"}}</legend> | ||||
|     {{formInput systemFields.description enriched=description value=system.description name="system.description" toggled=true}} | ||||
|     {{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}} | ||||
|   </fieldset> | ||||
|    | ||||
|   <fieldset> | ||||
|     <legend>{{localize "CTHULHUETERNAL.Label.notes"}}</legend> | ||||
|     {{formInput systemFields.notes enriched=notes value=system.notes name="system.notes" toggled=true}} | ||||
|     {{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}} | ||||
|   </fieldset> | ||||
| </section> | ||||
		Reference in New Issue
	
	Block a user