img are stored as blob in the html sometimes
this situation happens when the user, first write some text (which enables the save button), then copy paste an image in the editor and hits the save button. In that case, the onEditorChange() is not called (see EditorWrapper) and as a consequence the event is updated with the img blob inside instead of the link to the uploaded image
this does not happen when the user upload an image and then type something else in the editor because onEditorChange
is called for each new character typed.
The fact the onEditorChange()
is not called after the image is reloaded (from blob to proper link), is a bug is the tinymce editor itself or the corresponding react component of the tinymce editor (dependencies of this project)