You are correct, the getSelectedElement does not work when the anchor element is set with contenteditable="false" attribute. Although, note that the reason for that is because the cursor of the editable content cannot be placed in the link due to the default click handler.
Investigating further this issue with a simple editable iframe, I am able to reproduce the same problem. You can find attached a simple HTML page with an editable iframe, so that you could examine further that this is a browser behavior. I regret to inform you that without placing the cursor in the desired element, the logic of the getSelectedElement cannot get this element, because the browser selection is not changed.
Unfortunately such behavior, that comes from the browser logic cannot be handled through the controls' implementation and I can suggest only using anchor elements without the contenteditable="false" attribute.
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed