fix linear body

This commit is contained in:
isUnknown 2025-02-17 19:01:26 +01:00
parent be447667cc
commit 23153263a0
2 changed files with 6 additions and 2 deletions

View file

@ -44,7 +44,7 @@ tabs:
paramsTab: paramsTab:
label: Paramètres label: Paramètres
fields: fields:
htmlMode: isHtmlMode:
label: Mode HTML label: Mode HTML
type: toggle type: toggle
width: 1/3 width: 1/3

View file

@ -29,7 +29,11 @@
<?= $page->chapo() ?> <?= $page->chapo() ?>
</div> </div>
<?php endif ?> <?php endif ?>
<?= $page->htmlBody()->kt() ?> <?php if ($page->isHtmlMode()): ?>
<?= $page->htmlBody()->kt() ?>
<?php else: ?>
<?= $page->body() ?>
<?php endif ?>
</div> </div>
</article> </article>
</main> </main>