mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-20 23:32:14 +00:00
UBER-1217 Register editor update event after initialization (#4699)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
94ddefa6de
commit
af315fd25a
@ -82,9 +82,9 @@ class SvelteNodeView extends NodeView<SvelteNodeViewComponent, Editor, SvelteNod
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.editor.on('update', this.handleEditorUpdate.bind(this))
|
|
||||||
|
|
||||||
this.renderer = new SvelteRenderer(this.component, { element: target, props, context })
|
this.renderer = new SvelteRenderer(this.component, { element: target, props, context })
|
||||||
|
|
||||||
|
this.editor.on('update', this.handleEditorUpdate.bind(this))
|
||||||
}
|
}
|
||||||
|
|
||||||
override get dom (): HTMLElement {
|
override get dom (): HTMLElement {
|
||||||
|
Loading…
Reference in New Issue
Block a user