A powerful and flexible rich text editor component for React, built on top of Lexical.
A powerful and flexible rich text editor component for React, built on top of Lexical.


Check out the live interactive demo and documentation:
Live Demo & Storybook
``bash`
npm install my-react-text-editoror
yarn add my-react-text-editor
Import the component and usage it in your React application:
`jsx
import React from 'react';
import { TextEditor } from 'my-react-text-editor';
import 'my-react-text-editor/dist/index.css'; // Don't forget the CSS!
function App() {
return (
export default App;
`
- Rich Text Formatting: Bold, Italic, Underline, and more.
- Lists: Ordered and Unordered lists.
- Code Blocks: Support for code snippets.
- Quotes: Blockquote support.
- Modern UI: Clean and responsive design.
- TypeScript Support: Fully typed for excellent developer experience.
To develop locally:
1. Clone the repository.
2. Install dependencies: npm installnpm run storybook`
3. Start Storybook:
MIT © Sohan Paliyal