Why is my text block not displaying the info field?
name: Text
icon: text
wysiwyg: true
preview: text
fields:
text:
type: textarea
placeholder: Hier steht ein Fließtext
buttons:
email
link
info:
label: Info
type: info
theme: info
text: |
This info does not appear..
I believe it’s a typo in your YAML syntax, with everything after the malformatted lines ignored. Try:
buttons:
- email
- link
thanks, but unfortunately nothing changed…
Works for me:
Check your indentation. But the textarea field shows up correctly?
hm… I use it as a block and it looks like this:
Well, the info field will only appear in the drawer, unless you create a custom preview (the screenshot above it your custom text block with the drawer open).
1 Like