RichTextEditor
Free and open-source rich text editor for React — lightweight, extensible, and published on npm. This hub links to live demos; full reference docs live in the repository.
Live demos
-
Playground
Interactive sandbox — try toolbar presets, toggle themes, and see live HTML output.
Vite + React -
React demo
Blog-style example showing how to integrate the editor in a typical React application.
Vite + React -
Next.js demo
Static export example with Next.js — demonstrates framework compatibility.
Next.js 14 -
Storybook
Component gallery with interactive controls — explore props, themes, and accessibility.
Storybook 8
Quick start
Install the package (React 18+ required). See the usage section in the README for a minimal example.
Features
- Formatting: bold, italic, underline, strikethrough; headings H1–H6; lists; links; images; blockquotes
- Code: inline code and fenced blocks with syntax highlighting
- Editing: undo/redo; paste with formatting preserved where possible
- Product: light and dark themes; ARIA and keyboard support; full TypeScript types
Framework compatibility
- React 18 or newer (peer dependency)
- Vite — Playground and React demo builds
- Next.js — demo uses static export; suitable as a pattern for App or Pages Router apps
- Storybook 8 — component stories and a11y checks
Trusted by
Organizations and products that build on or ship this editor. Listing here is informational, not an endorsement.