In tinyMCE, Is there any way to get the plain text instead of HTML text?
var rawtext = tinyMCE.activeEditor.getBody().textContent;