> From the [Strife developer docs](https://strife.app/docs/reference/fields/rich-content-json). Every page is listed in [llms.txt](https://strife.app/docs/llms.txt).

# Rich Content (JSON)~

The Rich Content field empowers editors to create dynamic and visually appealing content, which is then stored in the database as JSON.

> [!NOTE]
> This field is identical to the [Rich Content field](https://strife.app/docs/reference/fields/rich-content.md), with the only distinction being that it stores its value as JSON in the database.

> [!WARNING]
> The tilde (**\~**) denotes that the field is available in developer preview only.

### Define with JSON

When defining templates using JSON, this field is represented using:

* **Component Name:** `str-textarea`
* **Type:** `json`
* Reference ID: `str-textarea|json`

The settings above map into the `editor.attributes` object inside the JSON definition.

```json
{
  ...
  "editor": {
    "name": "str-textarea",
    "type": "json",
    "propertyName": "...",
    ...
    "attributes": {
      "menuButtons": [...]        //heading1|heading2|bold|etc...
      "placeholderDocument": "..."//heading|paragraph|etc...
    }
  },
  ...
}
```

### Live preview

> [!NOTE]
> This field does not have any default Strife Web Components. Custom live preview implementations are fully supported.

> [!NOTE]
> For more information on live preview and Strife Web Components, please refer to the [Live preview documentation](https://strife.app/docs/reference/live-preview.md).
