I finally have pasteHTML working pretty well, but I need some help to smooth the behavior across browsers
IE8 & FF3.5 will paste the link, and put the cursor below the link. I want it to work this way.
Safari 4 & Chrome 4 will paste the link, but will select the pasted entire link.
with this code:
.pasteHtml('<a href="#">link</a><br/> \r\n');
.pasteHtml('<a href="#">link</a><br/> \r\n');
IE8 & FF3.5 will paste the link, and put the cursor below the link. I want it to work this way.
Safari 4 & Chrome 4 will paste the link, but will select the pasted entire link.
I don't want it to work this way as the next pasteHTML will continuously replace the previous pasteHTML.
I need a way to make Safari and Chrome NOT select (or unselect after the fact) the pasted HTML, like IE & FF does.
Thanks