This is a migrated thread and some comments may be shown as answers.

Using editor for plain text capture

1 Answer 169 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jim Collier
Top achievements
Rank 1
Jim Collier asked on 12 Feb 2016, 09:12 PM

Would like to use the editor to capture plain text.  I cannot see a way to have the editor return plain text as opposed to HTML.  I have turned off the toolbar but it still wants to return HTML.

 Jim

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 15 Feb 2016, 11:51 AM

Hello Jim Collier,

 

Thank you for contacting Telerik support.

 

Check the following dojo example: http://dojo.telerik.com/iGAwi

In short you can try something like: $(editor.value()).text()

 

Regards,
Stanimir
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Jim Collier
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or