draftjs-to-lexical
JSON →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.
Resources
packagedraftjs-to-lexical ↗
API endpoints
full doc /v1/registry/draftjs-to-lexical