set props for composition api, see #236
This commit is contained in:
@@ -81,7 +81,7 @@ class VueNodeView extends NodeView<Component, Editor> {
|
|||||||
provide('onDragStart', onDragStart)
|
provide('onDragStart', onDragStart)
|
||||||
provide('isEditable', isEditable)
|
provide('isEditable', isEditable)
|
||||||
|
|
||||||
return (this.component as any).setup?.()
|
return (this.component as any).setup?.(props)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user