|after||–||Optional text that will be shown after the input|
||–||Sets the focus on this field when the form loads. Only the first field with this label gets|
|before||–||Optional text that will be shown before the input|
|default||–||Default value for the field, which will be used when a page/file/user is created|
|help||–||Optional help text below the field|
||–||Optional icon that will be shown at the end of the field|
||Enables inline mode, which will not wrap new lines in paragraphs and creates hard breaks instead.|
|label||–||The field label can be set as string or associative array with translations|
||Sets the allowed HTML formats. Available formats:
|nodes||–||Sets the allowed nodes. Available nodes:
|placeholder||–||Optional placeholder value that will be shown when the field is empty|
|when||–||Conditions when the field will be shown (since 3.1.0)|
||The width of the field in the field grid. Available widths:
By default, the writer field will supports multiple paragraphs (
<p>). In inline mode, hitting enter will create breaks instead of creating a new paragraph.
The writer field supports the following marks by default:
Apart from paragraph nodes, the writer field supports headings and lists. You can fine-tune the writer field from your blueprint by defining the available block formats (nodes).
Unsupported formats will automatically be ignored when content is pasted and the toolbar will also not include the matching buttons.
The content of the writer field is stored as plain HTML. To render the field in your template, echo the value.