Custom block and 'preview'

On the Custom Block page it says:

Field preview

You can set the preview property to fields to allow inline editing of all defined fields without opening the drawer

But then on this page text | Kirby CMS
preview is set to ‘text’

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

So I’m confused what preview does and where to set it to allow inline editing of the fields without opening the drawer

If you set it to:

wysiwyg: true
preview: fields

This will stop the drawer opening, and show you the fields to edit inside the block

Hi Mike. Thanks.

From a different post I’ve been told that the preview:text is a custom preview (not the draw and not the fields, but a custom preview)