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

@@ -59,21 +59,21 @@
<div class="anomaly-section">
<div class="anomaly-section-title">{{localize "CELESTOPOL.Item.technique"}}</div>
<div class="anomaly-editor-wrap">
{{editor system.technique target="system.technique" button=false editable=isEditable}}
{{formInput systemFields.technique enriched=enrichedTechnique value=system.technique name="system.technique" toggled=true}}
</div>
</div>
<div class="anomaly-section">
<div class="anomaly-section-title">{{localize "CELESTOPOL.Item.narratif"}}</div>
<div class="anomaly-editor-wrap">
{{editor system.narratif target="system.narratif" button=false editable=isEditable}}
{{formInput systemFields.narratif enriched=enrichedNarratif value=system.narratif name="system.narratif" toggled=true}}
</div>
</div>
<div class="anomaly-section">
<div class="anomaly-section-title">{{localize "CELESTOPOL.Item.exemples"}}</div>
<div class="anomaly-editor-wrap">
{{editor system.exemples target="system.exemples" button=false editable=isEditable}}
{{formInput systemFields.exemples enriched=enrichedExemples value=system.exemples name="system.exemples" toggled=true}}
</div>
</div>