davinci0428,
Can you tell me why you don't use PasteHTML method. It will store the cursor position.
PasteHTML() |
This method is used for pasting the specified HTML into a range within an editor document. If anything is selected, the selection is replaced with the new HTML and text.
Example:
// get the cute editor instance var editor1 = document.getElementById('CE_Editor1_ID);
// pasting the specified HTML into a range within a editor document editor1.PasteHTML("Hello World"); |
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