We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba176b1 commit 00b70fcCopy full SHA for 00b70fc
src/plugins/jsx/LexicalJsxNode.tsx
@@ -32,7 +32,7 @@ export class LexicalJsxNode extends DecoratorNode<JSX.Element> {
32
}
33
34
static clone(node: LexicalJsxNode): LexicalJsxNode {
35
- return new LexicalJsxNode(structuredClone(node.__mdastNode))
+ return new LexicalJsxNode(structuredClone(node.__mdastNode), node.__key)
36
37
38
static importJSON(serializedNode: SerializedLexicalJsxNode): LexicalJsxNode {
0 commit comments