Richtext Field

Richtext Field

The richtext field stores managed editorial content with formatting.

Best For

  • body copy
  • formatted section content
  • editorial descriptions
  • article-like text blocks

Schema Example

{ "name": "body", "label": "Body", "type": "richtext" }

Template Usage

{{{ body }}}

Use triple braces when the output should render as HTML.

Section example:

<div class="prose">
  {{{ body }}}
</div>

Use It When

Use richtext when editors need formatting tools such as headings, lists, links, or emphasis.

Do Not Use It When

Do not use richtext when:

  • plain text is enough
  • the content should stay highly structured
  • advanced raw markup is required under controlled technical ownership

Use textarea, repeater, or htmlcode instead.

Technical Notes

  • render richtext with triple braces so managed formatting can produce HTML output
  • keep richtext for editor-driven prose, not for deeply structured content models
  • use htmlcode only when controlled advanced markup is genuinely required
  • if repeated items each need formatted text, consider repeater with nested rich content only when the editorial workflow truly needs that complexity