The RichText component powers text editing across WordPress core blocks including paragraphs, headings, buttons, and quotes. It provides the familiar inline editing experience users expect from WordPress.
Available from the @wordpress/block-editor package, RichText handles complex text formatting, toolbar integration, and accessibility features automatically. It’s one of the most important components for content-focused blocks.
WordPress provides dedicated documentation for RichText due to its importance and complexity. This component transforms static text into an editable, rich-text interface that matches core WordPress behavior.