draft-to-lexical: convert Draft.js RawDraftContentState to Lexical SerializedEditorState #8233
dragogargo
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I built a tool that converts Draft.js content to Lexical format — something
that's been requested in #1641 and #2197 but never shipped officially.
It handles the structural conversion from Draft.js flat blocks to Lexical's
nested node tree:
npm install draft-to-lexical
GitHub: https://github.com/dragogargo/draft-to-lexical
Happy to hear feedback or feature requests.
Beta Was this translation helpful? Give feedback.
All reactions