Editor
@mdxeditor/editor
React component for rich text markdown editing
Markdown
mdx
markdown
rich-text-editor
lexical
react
@mdxeditor/editor
javascript
npm
frontend
open source
Stars
336
Weekly
1.0M
Open issues
4
Bundle
~25 kB
Installation
npm install @mdxeditor/editorCode example
import { Editor } from "@mdxeditor/editor";
export function Example() {
return (
<div>
<h2>Editor</h2>
<Editor />
</div>
);
}Pros & cons
Pros
- Actively maintained by Petyo Ivanov
- 1.0M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 4 open issues on GitHub