fix: fix updating node views, fix #1656
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user