fix: fix expose error when using new setup syntax (fix #1914)
This commit is contained in:
@@ -92,7 +92,9 @@ class VueNodeView extends NodeView<Component, Editor, VueNodeViewRendererOptions
|
||||
provide('onDragStart', onDragStart)
|
||||
provide('decorationClasses', this.decorationClasses)
|
||||
|
||||
return (this.component as any).setup?.(props)
|
||||
return (this.component as any).setup?.(props, {
|
||||
expose: () => undefined,
|
||||
})
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user