diff --git a/packages/react/src/ReactNodeViewRenderer.tsx b/packages/react/src/ReactNodeViewRenderer.tsx index 2ca05b78..b38a9eff 100644 --- a/packages/react/src/ReactNodeViewRenderer.tsx +++ b/packages/react/src/ReactNodeViewRenderer.tsx @@ -121,10 +121,10 @@ class ReactNodeView extends NodeView { return true } - this.maybeMoveContentDOM() this.node = node this.decorations = decorations this.renderer.updateProps({ node, decorations }) + this.maybeMoveContentDOM() return true }