In normal view, you can put the mouse at the front of the image and let the mouse become
, click the insert html button, it will not delete the content of img tag.
You can also switch to HTML view and put mouse to the place that you want to insert content, click the insert html button, you will get the result that you need.