How to get the cursor position using javascript
in a SharePoint RichText Editor control

"

..