It seems that when you use the link icon to add a hyperlink inside the page it finds the cursor perfectly. Unfortunately I have to manufacture our own links to images and other documents. I was hoping that someone could provide an unminified version of that code and maybe an explanation of how it works. I'm using CKEditor 3 with jsp/javascript.
Thanks