Hi,
I am getting HTML content from the onChange function and sending those HTML data to the server to generate PDF.
Since table uses sunEditor class to apply styles. not able to captures the style details from onChange.
so, while generating PDF, the table loses the style and it coming as text.
Is there any way I can configure to apply inline styles to the table tag?
please find below the attached screenshot for reference

PDF Generated based on HTML data from SunEditor:

Thank you in Advance
@gopal1996 I'll try find a way.
Not only the PDF, but also sometimes we need to export the html content to other users, like api, they don't have the css file but we need to show original appearance .
THANK YOU FOR YOUR PERFECT JOB.
Most helpful comment
Not only the PDF, but also sometimes we need to export the html content to other users, like api, they don't have the css file but we need to show original appearance .
THANK YOU FOR YOUR PERFECT JOB.