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

How can i to HTML Editor using javascript function

1 Answer 48 Views
Editor
This is a migrated thread and some comments may be shown as answers.
sachin
Top achievements
Rank 1
sachin asked on 01 Jun 2010, 09:15 AM
Hi,

As per client requirement, we need to give html button in tool bar, And  from that button we can go to html view from design same as html button at bottom side.

How can i do this, what is javascript function to go to html view?

Thanks

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Jun 2010, 09:33 AM
Hi Sachin,

You can see how to add a custom button on the toolbar in this live demo: Custom Tools.
To switch to HTML mode fire the editor.set_mode(2) method.

Regards,
Rumen
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
sachin
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or