> ## Documentation Index
> Fetch the complete documentation index at: https://docs-loja.usecorvex.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# richtext

> Field type richtext — HTML formatado.

# `richtext`

| | |
| - | - |
| **type** | `richtext` |
| **Valor salvo** | `string` (HTML) |

## Propriedades OPTIONAL

`default`, `info`

## Exemplo

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "id": "body",
  "type": "richtext",
  "label": "Conteúdo",
  "default": "<p>Texto</p>"
}
```

## Runtime

O inspetor grava o HTML do `contentEditable` (`innerHTML`). Não há sanitização nesse campo nem uma etapa posterior encontrada no renderer do tema para esse valor. Quem colocar `settings` em `dangerouslySetInnerHTML` publica o HTML do lojista, inclusive o que for colado no campo. A correção recomendada é filtrar o HTML na plataforma antes de persistir. A documentação não substitui esse filtro.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.