This is a migrated thread and some comments may be shown as answers.
plain text
3 Answers 6 Views
This is a migrated thread and some comments may be shown as answers.
Saso
Top achievements
Rank 2
Saso asked on 17 Sep 2014, 04:06 PM
is it possible to switch simply between HTML and plain text look

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 19 Sep 2014, 01:21 PM

Hello Saso,

You can use the set_mode() method the Editor offers to switch modes programmatically: http://www.telerik.com/help/aspnet-ajax/editor-set-mode.html.

This article explains how you can preset the modes the user can see and switch between: http://www.telerik.com/help/aspnet-ajax/editor-edit-modes.html.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Saso
Top achievements
Rank 2
answered on 22 Sep 2014, 05:07 AM
thx. but is it possible to strip all html tags and get only plain text value
0
Marin Bratanov
Telerik team
answered on 23 Sep 2014, 03:39 PM

Hello Saso,

You can get it on the client via the get_text() method: http://www.telerik.com/help/aspnet-ajax/editor-get-text.html.

You can get it on the server via the Text property of the control: http://www.telerik.com/help/aspnet-ajax/editor-getting-setting-content.html.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Asked by
Saso
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Saso
Top achievements
Rank 2
Share this question
or