Localess
Schemas

Rich Text

Stores structured formatted text as a Tiptap JSON document. Supports headings, bold, italic, lists, links, and code blocks.

Stores structured formatted text as a Tiptap JSON document. Use it for article bodies, long descriptions, and any content where editors need formatting controls. For plain unformatted text use Text Area; for Markdown syntax use Markdown.

Value shape

{
  "type": "doc",
  "content": [
    {
      "type": "paragraph",
      "content": [
        { "type": "text", "text": "Hello ", "marks": [{ "type": "bold" }] },
        { "type": "text", "text": "world." }
      ]
    }
  ]
}

Render the value in your frontend using the SDK helpers:

Options

OptionDescription
Min LengthMinimum number of characters required
Max LengthMaximum number of characters allowed
NameUnique field name in the Schema. Appears in the generated model and in the API response.
Display NameLabel shown to editors in the Content Editor.
RequiredWhen set, editors cannot save the document without a value.
TranslatableWhen set, the field stores a separate value per locale.
DescriptionHelp text shown to editors under the field.
Default ValueValue applied when a document is first created.

On this page