react-easy-editor

Rich text editing for React, in one component.

React Easy Editor is a free, MIT-licensed WYSIWYG editor for React. Add <Editor /> and your users get a full toolbar, tables, code blocks with syntax highlighting, image upload, Markdown shortcuts and dark mode.

npm install react-easy-editor

What you get

  • Controlled value and onChange, plus a ref with getHTML, setHTML, focus and more
  • Image upload hook for picked, dropped and pasted images
  • Markdown shortcuts, character limit and right-to-left text
  • Interface in English, Spanish, French, German and Hindi
  • TypeScript types, ESM and CommonJS builds, Next.js App Router support