fixed some css & prosemirror

This commit is contained in:
Vlyan
2025-08-22 12:47:39 +02:00
parent 30e8da25a2
commit 8b77966287
19 changed files with 55 additions and 52 deletions

View File

@@ -73,7 +73,7 @@
</tbody>
</table>
</fieldset>
{{!-- Others progession (does not count in school xp) --}}
{{!-- Others progression (does not count in school xp) --}}
<fieldset class="xp-spent xp-spent-body">
<legend class="tools">
{{localize 'l5r5e.advancements.title'}}

View File

@@ -82,11 +82,11 @@
{{!-- Description (public) --}}
<fieldset class="narrative-description">
<legend class="text-block-header">{{localize 'l5r5e.sheets.description' }}</legend>
{{editor data.enrichedHtml.description target="system.description" button=true editable=options.editable}}
{{editor data.enrichedHtml.description target="system.description" button=true editable=options.editable engine="prosemirror" collaborate=false}}
</fieldset>
{{!-- Notes (private) --}}
<fieldset class="narrative-note">
<legend class="text-block-header">{{localize 'l5r5e.sheets.notes' }}</legend>
{{editor data.enrichedHtml.notes target="system.notes" button=true editable=options.editable}}
{{editor data.enrichedHtml.notes target="system.notes" button=true editable=options.editable engine="prosemirror" collaborate=false}}
</fieldset>
</div>

View File

@@ -3,10 +3,12 @@
<div class="checklist">
<i>{{localize 'l5r5e.techniques.type'}}</i>
{{#each data.techniquesList as |technique|}}
{{#ifCond ../data.editable_not_soft_locked '||' (lookup ../data.system.techniques technique.id)}}
<label>
<input type="checkbox" name="system.techniques.{{technique.id}}" {{checked (lookup ../data.system.techniques technique.id)}} {{^if ../data.editable_not_soft_locked}}disabled{{/if}} />
{{technique.label}}
</label>
{{/ifCond}}
{{/each}}
</div>
{{!-- technique list --}}