Text editor webpart Images are disappearing after site page edit

Copper Contributor

Hi Team,

We are working on one of the migration project, where we are migrating contents from classic ASP (Static Content) into SharePoint Online. We are parsing the ASP static content and sanitizing it to have only HTML tags and injecting that using the CSOM into SharePoint online. 


After migrating the pages it is looking good but if we edit the page then images are disappearing  


1 Reply



Are those images stored in same SharePoint site? 


Are you using modern experience pages with Text web part in SharePoint?

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.