mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 01:12:56 +08:00
feat: add support for template strings in VueNodeViewRenderer, fix #1987
This commit is contained in:
parent
53213439b5
commit
7c98f80547
@ -88,6 +88,7 @@ class VueNodeView extends NodeView<Component, Editor, VueNodeViewRendererOptions
|
||||
const extendedComponent = defineComponent({
|
||||
extends: { ...this.component },
|
||||
props: Object.keys(props),
|
||||
template: (this.component as any).template,
|
||||
setup: reactiveProps => {
|
||||
provide('onDragStart', onDragStart)
|
||||
provide('decorationClasses', this.decorationClasses)
|
||||
|
Loading…
Reference in New Issue
Block a user