[RichTextEditor] save/load function