Fix éditeurs HTML : {{editor}} → {{formInput}} (API Foundry v13)

Tous les champs HTMLField utilisaient le vieux helper {{editor}} (v10/v11)
incompatible avec AppV2. Remplacement par {{formInput systemFields.xxx
enriched=enrichedXxx value=... name=... toggled=true}} dans :
- templates/anomaly.hbs (technique, narratif, exemples)
- templates/aspect.hbs (description, technique, narratif)
- templates/attribute.hbs (description, technique, narratif)
- templates/equipment.hbs (description)
- templates/character-biography.hbs (description, notes)
- templates/npc-blessures.hbs (description)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-29 16:40:08 +02:00
parent 54151f8f6f
commit d2af32aba7
6 changed files with 13 additions and 25 deletions

View File

@@ -25,10 +25,6 @@
{{!-- Description --}}
<div class="description-section">
{{#if isEditMode}}
{{editor system.description target="system.description" button=true editable=isEditable}}
{{else}}
<div class="enriched-html">{{{enrichedDescription}}}</div>
{{/if}}
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</div>
</div>