Rebar UI

1.0

opinion

RichTextEditor

A formatting toolbar over an editable region, with HTML in and out.

Project updateBold, lists and links, saved as HTML
Empty
Short

In context

Post an updateWriting to the Harbour rebrand channel
MCHarbour rebrandNew update

Props

PropTypeRequiredDefault
valuestring | undefinedNo—
defaultValuestring | undefinedNo
onValueChange((html: string) => void) | undefinedNo—
placeholderstring | undefinedNoStart typing...
minHeightnumber | undefinedNo160
maxImageBytesnumber | undefinedNo4 * 1024 * 1024

data-rebar-* attributes

data-rebar-component="rich-text-editor"; parts: toolbar, content.

Migrating to Ant Design

AntD ships no rich-text editor of its own — its docs point to third-party editors (TinyMCE, Quill, etc.) wrapped in an antd Form.Item. A migration typically keeps this component's own simple formatting or upgrades to one of those dedicated libraries, rather than a 1:1 antd component swap.