-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I have the case when using schemaform draw the tinymce after calling the ws to get json schema + form + model value. Everything working fine but, it' have bad error output on developer tool.
I try to trace back the source, it seem, even when the event schemaFormRedraw
broadcasted, the html DOM of tinymce wasn't load yet (we don't have cached here)
So in the meantime, the model value had changed, which trigger this watcher
https://github.com/Textalk/tx-tinymce/blob/master/tx-tinymce.js#L84
and since it didn't have tinymce.getContent()
, it will throw an error.
When I try a quick fix by using the condition check if(value != old)
then everything works fine
Metadata
Metadata
Assignees
Labels
No labels