draftjs-to-lexical

JSON →
library 0.0.5 ·javascript
verified Jun 7, 2026

A utility library for migrating content from Draft.js to Lexical editor format. Current version 0.0.5 is pre-release beta, with no established release cadence. It converts Draft.js contentState to Lexical serialized format, covering common block and inline styles. Key differentiators: handles Draft.js entities (links, mentions) and nested lists. Suitable for migrating legacy Draft.js editors to Lexical. Due to early stage, expect API changes and limited documentation.