Skip to content

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/master/panel/src/components/Blocks/Types/Text.vue