set parent component for vue node views

This commit is contained in:
Philipp Kühn
2020-12-14 12:05:46 +01:00
parent 8e7659bcd1
commit aef4bd88fc
4 changed files with 46 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ export default Vue.extend({
if (editor && editor.options.element) {
this.$nextTick(() => {
this.$el.appendChild(editor.options.element.firstChild)
// editor.setParentComponent(this)
editor.createNodeViews()
})
}
},