Hello,
I'm trying to sort out a way to avoid having the cursor at position 0 in the editor after using the editor.set_html("I added some text"); function from javascript. It seems in when set_html is used your cursor automatically moves to position 0. You can see from your example on your site by clicking set_html http://mono.telerik.com/Editor/Examples/ClientsideAPI/DefaultCS.aspx
Is there any workaround for this? In short what I'm trying to accomplish is to Filter the contents of the editor and replace that content, via JavaScript.
thanks,
I'm trying to sort out a way to avoid having the cursor at position 0 in the editor after using the editor.set_html("I added some text"); function from javascript. It seems in when set_html is used your cursor automatically moves to position 0. You can see from your example on your site by clicking set_html http://mono.telerik.com/Editor/Examples/ClientsideAPI/DefaultCS.aspx
Is there any workaround for this? In short what I'm trying to accomplish is to Filter the contents of the editor and replace that content, via JavaScript.
thanks,