Skip to content
Strife Docs

Reference Field Reference

fields.paragraph()

Multi-line plain-text input. Same editor component as html, but stores plain text instead of HTML.

Multi-line plain-text field ("Paragraph" in the Studio field reference). Maps to editor { name: 'str-textarea', type: 'text' } — the same component as fields.html() but with type: 'text', so the stored value is a plain string rather than HTML.

Example

TypeScript
fields.paragraph({
  label: 'Summary',
  localizable: true,
  placeholder: 'One or two sentences…',
})

Options

OptionTypeRequiredDescription
label
string
Yes
Label shown to editors in Strife Studio.
localizable
boolean
No
When true, output is Record<string, string> instead of string.
propertyName
string
No
Override the stored property name.
placeholder
string | null
No
Hint text shown in the empty textarea.

Output type

string, or Record<string, string> when localizable: true.

See also

  • Paragraph — the same editor, documented from the Strife Studio UI side.