backend saves images in the rich text editor locally and converts to relative references before saving