mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-11 20:23:36 +08:00
fix: fix updating node views, fix #1656
This commit is contained in:
parent
6f4142eb68
commit
d7f6e0ce3f
@ -147,7 +147,7 @@ class ReactNodeView extends NodeView<React.FunctionComponent, Editor, ReactNodeV
|
||||
this.node = node
|
||||
this.decorations = decorations
|
||||
|
||||
updateProps()
|
||||
updateProps({ node, decorations })
|
||||
|
||||
return true
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ class VueNodeView extends NodeView<(Vue | VueConstructor), Editor, VueNodeViewRe
|
||||
this.node = node
|
||||
this.decorations = decorations
|
||||
|
||||
updateProps()
|
||||
updateProps({ node, decorations })
|
||||
|
||||
return true
|
||||
}
|
||||
|
@ -153,7 +153,7 @@ class VueNodeView extends NodeView<Component, Editor, VueNodeViewRendererOptions
|
||||
this.node = node
|
||||
this.decorations = decorations
|
||||
|
||||
updateProps()
|
||||
updateProps({ node, decorations })
|
||||
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user