1
0

home: allow text editing

This commit is contained in:
Philip Wagner
2024-10-13 21:53:38 +02:00
parent 392cebd409
commit 93116ca84e
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
title: Simple Page
status:
draft: Draft
unlisted: Online
columns:
main:
width: 2/3
sections:
fields:
type: fields
fields:
text:
type: textarea
size: huge

View File

@@ -188,7 +188,7 @@ start()
<div id="info" class="bg-white-green">
<button id="info_close" aria-label="Info Close" class="menu-button no-button flex" style="margin-top: 4px"><div style="transform: rotate(45deg); "></div><div style="transform: translate(0,-6px) rotate(135deg);"></div></button>
<div class="text-22" style="margin-top: 34pt">
<?= $page->text() ?>
<?= $page->text()->kirbytext() ?>
</div>
</div>