Open johan-ludvigsson-stratsys opened 11 years ago
Does this bug occur when using one instance or multiple instances of the spellchecker? (I would guess it only occurs when using multiple instances.)
Any number of instances
See 585d20d for a solution
It is the same problem as this one http://stackoverflow.com/questions/5172202/does-ie7-not-fully-support-javascripts-insertbefore-method
Thank you, I have replicated the issue in IE7 and am aware of the what the problem is. I need to review 585d20d before merging.
When turning spellchecking on it will result in "Invalid argument" for IE7. This is because the findAndReplaceDOMText creates replacements nodes within the top document and tries to insert that into the iframe of editor. To solve this problem, you simply have to use owning document where the node will be placed.