moorte
moorte copied to clipboard
location:'inline', floating:true cause IE to crash
location:'inline', floating:true each cause IE to throw an error "The page cannot be displayed" after the page has successfully loaded.
The reason is that they attempt to write to the document element which has not yet been closed. And in IE one cannot modify an element until after it has been closed. See: http://www.clientcide.com/code-snippets/manipulating-the-dom/ie-and-operation-aborted
The workaround is to apply the rte in an onload event, by when the document element will already be closed.
However, it would be good for the RTE to check if it can be applied, and if not wait to apply itself.