feat: add support for template strings in VueNodeViewRenderer, fix #1987

This commit is contained in:
Philipp Kühn 2021-12-10 17:57:20 +01:00
parent 53213439b5
commit 7c98f80547

View File

@ -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)