Rich Text
| Prop | Tipo | Valor |
|---|---|---|
layoutopcional |
Cenário no explorador. | |
placeholderopcional | string Em RichTextContent, texto quando vazio. | |
disabledopcional | boolean Desativa toolbar e edição. | |
valueopcional | string HTML controlado do editor. | — |
defaultValueopcional | string HTML inicial (não controlado). | — |
onValueChangeopcional | (html: string) => void Disparado ao editar o conteúdo. | — |
formatopcional | RichTextFormatCommand Comando em RichTextFormat (bold, italic, etc.). | — |
listTypeopcional | "bullet" | "ordered" RichTextList alterna o tipo; clicar de novo remove a lista. | — |
alignopcional | "left" | "center" | "right" RichTextAlign aplica justifyLeft, justifyCenter ou justifyRight. | — |
RichTextUndo / RichTextRedoopcional | componente Desfazer e refazer (undo/redo) no histórico do editor. | — |
classNameopcional | string No root: largura (max-w-lg); no content: altura mínima. | — |