Skip to content

Kirby 3.6.6

text

A simple text block with multiple paragraphs

Preview

Default files

Snippet

<?php /** @var \Kirby\Cms\Block $block */ ?>
<?= $block->text();

To overwrite this default snippet, place your custom file in /site/snippets/blocks/text.php.

Blueprint

name: field.blocks.text.name
icon: text
wysiwyg: true
preview: text
fields:
  text:
    type: writer
    nodes: false
    placeholder: field.blocks.text.placeholder

To overwrite this default blueprint, place your custom file in /site/blueprints/blocks/text.yml.

Vue component

kirby/blob/main/panel/src/components/Forms/Blocks/Types/Text.vue