The excel export format question

I used the Data grid to fill the data, and used the Rich Text component in the excel export button page. If the component is filled with text, then the information in html format will be exported. If it also contains pictures, then an error will be reported, and it cannot be even exported. How do I solve this problem? If change to export pdf format file, how do I operate?
0 answers