Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Browse by Tags
All Tags
»
Regular Expressions
Client Side Object Model
CSOM
Cute Editor
CuteEditor_OnChange
javascript
plain text
PlainText
Strip HTML
On the client side, how to obtain plain text (like serverside's editor.PlainText) that DOES include whitespace entered by the user
Using innerText(document.getElementById(ID_OF_EDITOR).GetDocument().body) gets the text with html tags stripped out, but also strips carriage returns. I DO NOT WANT to strip whitespace, but WANT to strip HTML tags. Is there a way to do this that returns the same result as the server side Editor.PlainText property?? My ...
Posted to
Cute Editor for .NET
(Forum)
by
robertandrews
on
December 22, 2009