United Statesmeta/lexical
Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
🧩 Lexical: An extensible editor framework
A predictable core for building rich text editors across any UI stack.
Lexical is an extensible text editor framework focused on reliability, accessibility, and performance. Its framework-agnostic core keeps editing state predictable, with official React bindings available for teams that want to plug it directly into React apps.
✨ Highlights
- Framework Agnostic Core: Works with any UI framework, with official React bindings.
- Reliable & Accessible: Built-in accessibility support and WCAG compliance.
- Extensible: Plugin-based architecture with powerful extension points.
- Immutable State Model: Time-travel ready with built-in undo/redo.
- Collaborative Editing: Real-time collaboration via Yjs integration.
- Serialization: Import/export from JSON, Markdown, and HTML.
- Rich Content: Support for tables, lists, code blocks, images, and custom nodes.
- Type Safe: Written in TypeScript with comprehensive type definitions.
💡 Why it matters
By keeping state immutable and splitting the core from UI frameworks, Lexical makes hard editor features like undo/redo, collaboration, and serialization easier to reason about without fighting mutable DOM state. Its plugin and custom node system lets teams extend only what they need, while keeping accessibility and cross-browser support in scope from the start.
#Editor #RichText #TypeScript #OpenSource #TiniX