Closed thith closed 5 years ago
Hi @thith , which version are you using ?
Hi @thith , which version are you using ?
@michelson I use 0.5.0-rc21
. Dante2 raise the first onChange
event with argument.save.editorContent
of a blank text (it fires when rendering, no manual editing yet). Subsequent onChange
events are passed the correct values.
The same happens for the first save_handler
event's second argument.
It seems editor.emitSerializedOutput()
works so I use it instead of save.editorContent
.
When the Dante renders, it always fires
onChange
with content of blank, and does not fireonChange
for initial content.onChange
fired with content of blank instead of initial content.