function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jayakrishnan SalimJayakrishnan Salim 

Rich text field showing error

Hi All, 

I am getting the below error while displaying rich text field content on a lightning page. Kindly help if you have some idea.

User-added imageIf I upload the image from Visual Force page, the image is getting displayed. The issue is in the lightning page.
VinayVinay (Salesforce Developers) 
Looks like image included in rich text cannot be displayed. Check below reference for same.

https://trailblazer.salesforce.com/issues_view?id=a1p4V000001Yq1xQAC

Check below workaround mentioned.

https://salesforce.stackexchange.com/questions/170331/upload-images-with-lightninginputrichtext

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Jayakrishnan SalimJayakrishnan Salim
Hi Vinay, 

Thank you for your response. 
The lightning page that I have created is with LWC, not Aura. I just made an interesting observation that, when I upload image to the same rich text field from the classic experience, its getting displayed in the lightning view as well. The issue is only when I upload images from the lightning experience. Also, there is another rich text field in the same page which does displays images without any issue. I checked the permission of both the fields and there isn't any difference.