Skip to content

How to move nodes between multiple editors? #5206

Answered by yf-yang
yf-yang asked this question in Q&A
Discussion options

You must be logged in to vote

So far the best approach I can think of:

  1. copy the exportNodeToJSON source code from packages/lexical/src/LexicalEditorState.ts
  2. import $parseSerializedNode

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@flakis05
Comment options

Answer selected by yf-yang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants