mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
fix: fix expose error when using new setup syntax (fix #1914)
This commit is contained in:
parent
067d61c5dd
commit
60e7755b7f
@ -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,
|
||||
})
|
||||
},
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user