Save the text from the rich text box to the database and print it with the appropriate formatting - From 196080

  1. Need help in issue where rich text box text (html string) is not printing on page with format, it is showing plain html text over.

    I want to save to db and print the rich text box text with format.

1 Reply

VJ Vinitha Jeyakumar Syncfusion Team February 17, 2025 09:24 AM UTC

Hi Kishor,

By default, the content styles of the Rich Text Editor are not returned while retrieving the HTML value from the editor. So, the styles are not applied when using the HTML value outside the editor. To get the styles from the Rich Text Editor’s content for your application,  we need to add and use the styles directly in your application. Please refer to the documentation below for further style details,


Regards,
Vinitha


Loader.
Up arrow icon