-
20 Feb 2008 5:45 AM #1
HtmlEditor - How to get Plain Text value?
HtmlEditor - How to get Plain Text value?
Hello All,
Can anyone suggest on how to get the 'plain text' value from the HtmlEditor? I have an application in which the user entered text can be e-mailed later. Depending on user settings they can get either HTML or plain text messages. I would expect the non-html version to be similar to a value extracted from a TextArea.
My apologies if this was already addressed in a different thread. I did my best to lookup but did not find much.
Thanks in advance.
- Kannan
-
20 Feb 2008 5:47 AM #2
-
20 Feb 2008 5:48 AM #3
You would want to do something like this...
Code:var bla = Ext.util.Format.stripTags(your_field.getValue());
-
20 Feb 2008 9:52 AM #4
-
7 May 2013 11:31 PM #5
Still not able to get plain text
Still not able to get plain text
I am using the <ext:Htmleditor> inside a
<ext.window><content>
is that a problem?


Reply With Quote

