hi, i am creating a cms. i have already created a wysiwyg editor toolbar. it has features to include a horizontal rule and table too. my issue is that after i carry out the insertnode() function to insert the required html element, the caret returns to a position before the node was inserted eg: This is sample text <hr />
when i start typing, the text appear before the <hr /> eg: This is sample textthis is new text<hr />
is there any way for me to push the caret to after the node so that future text can appear after the node. (Not an issue in IE, since i am using pasteHTML there)