René,
You can use the following code to get the editor:
var editor1=document.getElementById('<%=Editor1.ClientID%>');
var editor1doc = editor1.GetDocument();
Now you can get the selection and write your JavaScript code:
For example:
var sel = editor1.
GetSelection();
if(sel.type=='Control')
{
// put your code here...
.........
}
else
{
// put your code here...
.........
}
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx