Hi JP Gutton,
Thank you for using contacting Syncfusion support.
Query 1: Is there a way with RTE to remove all the HTML tags of the document except the content of <body>, ie when I see the HTML content of the text it gives me <html>, <head> etc. with a lot of stuff inside, I only want to pass the content of body to the controller.
To pass the content of RTE we suggest you to use getText() method which will return the content of RTE. Please refer to the below given code
function gettext()
{
var obj = $("#RteSample").data("ejRTE");
alert(obj.getText());
} |
We have attached a sample for reference. Please download the sample from
Query 2: Also it is possible to have the character count include the HTML parts instead of just the "View" part, as I have limitation on the size of the field ?
Characters count will be based on the number of characters present inside editor and HTML parts cannot be included in this count.
Regards,
Keerthana