set props for composition api, see #236

This commit is contained in:
Philipp Kühn 2021-03-29 21:24:20 +02:00
parent 43bafac060
commit 60a3b0dfdd

View File

@ -81,7 +81,7 @@ class VueNodeView extends NodeView<Component, Editor> {
provide('onDragStart', onDragStart)
provide('isEditable', isEditable)
return (this.component as any).setup?.()
return (this.component as any).setup?.(props)
},
})