I was going through the online documentation as well as the static class library looking for a way to clear the Editor's selected area. Ideally, I would like to be able to clear the selected area during a Client-side event. Is this possible?
var editor = $find("<%=RadEditor1.ClientID%>");
editor.get_document().execCommand("Unselect", null, true);
as well as the collapse selection method:
editor.getSelection().collapse();
Kind regards,
Rumen
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>