Skip to content

Commit

Permalink
fix: fix expose error when using new setup syntax (fix #1914)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Sep 20, 2021
1 parent 067d61c commit 60e7755
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vue-3/src/VueNodeViewRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
},
})

Expand Down

0 comments on commit 60e7755

Please sign in to comment.