Replacing images in editor mode

Hi everyone! I was doing a bit of research on this but couldn’t find anything and wanted to post here to see if anyone has encountered anything similar. I work in a team so we alternate between design and editor mode on our site depending on the day. I have been working to optimize the images on our site in editor mode while my teammate works on the same site in design mode.

Sometimes when I replace the images on a page, I visit another page and come back to find that all of the images I’ve just replaced are now missing and cannot be fixed unless I go into design mode and manually add each of them again. Is this a bug? Has anyone else experienced this?