how do i insert text in the editor at the cursor position.

Feb 12, 2010 at 9:08 PM
Edited Feb 12, 2010 at 9:09 PM

I'm using jquery to insert text into the wysiwyg editor. I'm trying to enter it at the cursor position. Using pasteHTML() works fine in firefox but in Internet Explorer it will only paste the text at the beginning of the text editor in front of any existing text. How can I get it to place it at the cursor location?