A modern and customizable rich text editor built using React, Draft.js, and emoji-picker-react. This editor supports basic text formatting, list management, text alignment, emoji insertion, undo/redo, and code block formatting — all with a beautiful icon-based toolbar powered by Lucide Icons.
- Bold, Italic, Underline, Strikethrough formatting
- Ordered and Unordered lists
- Text alignment: Left, Center, Right, Justify
- Emoji picker with cursor position memory
- Undo/Redo support
- Code block support
- Modularized Toolbar component
- Clean, customizable structure using React Hooks and Draft.js
- React
- Draft.js
- emoji-picker-react
- Lucide Icons
- CSS (custom styles, easily replaceable with Tailwind or Sass)
git clone https://github.com/gaurang6719/Text-Editor.git
cd react-rich-text-editor
npm install