Hi,
I’m currently extending the text block type:
info:
extends: blocks/text
icon: bookmark
name: Info
fields:
text:
label: Text
type: text
But when editing the block, there are p tags added to the content:
Hi,
I’m currently extending the text block type:
info:
extends: blocks/text
icon: bookmark
name: Info
fields:
text:
label: Text
type: text
But when editing the block, there are p tags added to the content:
I can reproduce that, but it is not necessary (or intended?) to repeat an existing field if you want to add other fields, so just define context and width, and then text will appear automatically.
Ha! 100% true. This is why I shouldn’t code in the middle of the night
The text block is based on the assumption that the text field is a writer field. Textareas won’t work there.