-
Scenario: drag and drop a node to a nested editor. Possible (but failed) approaches:
|
Beta Was this translation helpful? Give feedback.
Answered by
yf-yang
Nov 5, 2023
Replies: 1 comment 1 reply
-
So far the best approach I can think of:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yf-yang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So far the best approach I can think of:
exportNodeToJSON
source code from packages/lexical/src/LexicalEditorState.ts$parseSerializedNode