[jQuery] Firefox 3 (contentEdiable / execCommand).

[jQuery] Firefox 3 (contentEdiable / execCommand).


Hay all, Firefox 3 as support for contentEditable. This is great and
all, but i have a huge error.
http://kevin-ruscoe.plesk3.freepgs.com/contenteditable/
I cannot run execCommand() on my text, this works in safari and IE6+
I found the reason why this happens.
When i click the anchor tag, the DIV loses focus and the nothing is
selected.
I need to know how to to re-select the selection then do the
execCommand.
Thanks all :)