Open rbecheras opened 8 years ago
Adding an image via the native image plugin should fire a changed event.
See this plunker. The model seems to update for me when I insert an image.
Can you explain when SetContent is needed?
Similar problem here.
After setContent
the dirty
state remains false, which blocks content update in ui-tinymce. My solution is:
editor.setContent(...);
editor.setDirty(true);
editor.fire('change');
Oh, thanks for this notice @gera2ld , I didn't see that point before. I think this is a great clue to correctly resolve the issue. I'll look at that again in detail shortly.
Thanks @gera2ld that was a big help!
likewise thanks @gera2ld :)
Can you please add a plunker reproducing the issue so we can take a closer look at it?