Skip to content

Commit

Permalink
Revert "fix/react-renderer-node-attrs (#4321)"
Browse files Browse the repository at this point in the history
This reverts commit 5b407ef.
  • Loading branch information
bdbch committed Nov 23, 2023
1 parent 2bb3711 commit a4af83c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/react/src/ReactNodeViewRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ class ReactNodeView extends NodeView<
const oldNode = this.node
const oldDecorations = this.decorations

Object.keys(node.attrs).forEach(key => {
this.renderer.element.setAttribute(key, node.attrs[key])
})
this.node = node
this.decorations = decorations

Expand All @@ -176,9 +173,6 @@ class ReactNodeView extends NodeView<
return true
}

Object.keys(node.attrs).forEach(key => {
this.renderer.element.setAttribute(key, node.attrs[key])
})
this.node = node
this.decorations = decorations

Expand Down

0 comments on commit a4af83c

Please sign in to comment.