Skip to content

1.1.0

Compare
Choose a tag to compare
@dminkovsky dminkovsky released this 30 Aug 03:14
· 0 commits to 39a64506f3e9a240c34f68d760e37f7249b2ba5b since this release

Per the ProseMirror docs:

setProps() is equivalent to view.update(Object.assign({}, view.props, props)).

But upon render, we want to replace the entire set of props (because that is the React way), so use view.update() instead.