This commit is contained in:
Philipp Kühn
2019-08-07 12:19:02 +02:00

View File

@@ -41,6 +41,10 @@ export default class ComponentView {
updateAttrs: attrs => this.updateAttrs(attrs),
}
if (typeof this.extension.setSelection === 'function') {
this.setSelection = this.extension.setSelection
}
this.vm = new Component({
parent: this.parent,
propsData: props,