fix: add support for scoped styles, fix #1931

This commit is contained in:
Philipp Kühn
2021-09-23 09:53:11 +02:00
parent ec619a0f96
commit 19840f3b25

View File

@@ -96,6 +96,10 @@ class VueNodeView extends NodeView<Component, Editor, VueNodeViewRendererOptions
expose: () => undefined, expose: () => undefined,
}) })
}, },
// add support for scoped styles
// @ts-ignore
// eslint-disable-next-line
__scopeId: this.component.__scopeId,
}) })
this.renderer = new VueRenderer(extendedComponent, { this.renderer = new VueRenderer(extendedComponent, {