mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +08:00
fix a bug in updateComponentProps
This commit is contained in:
parent
364c744cef
commit
2dda11ba60
@ -65,6 +65,10 @@ export default class ComponentView {
|
||||
}
|
||||
|
||||
updateComponentProps(props) {
|
||||
if (!this.vm._props) {
|
||||
return
|
||||
}
|
||||
|
||||
// Update props in component
|
||||
// TODO: Avoid mutating a prop directly.
|
||||
// Maybe there is a better way to do this?
|
||||
|
Loading…
Reference in New Issue
Block a user