Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When spellchecking with IE8, extra paragraphs are created occasionally #35

Open
peter-klaesson-stratsys opened this issue Mar 18, 2013 · 2 comments

Comments

@peter-klaesson-stratsys

To reproduce: (use native IE8, not IE9 in IE8 mode)

Go to http://jquery-spellchecker.badsyntax.co/ckeditor.html

Place the cursor between "great explorer" and "of the truth" in the paragraph. Hit enter.

Press spellchecker (ABC-button on the top of the editor).

Spellcheck the second paragraph (starting with 'of the truth'... Correct Noo, consequencses's and painful.

At either "consequencses's" or "painful", the normalize function will create an extra paragraph when normalizing the p-element.

Created a pull request at padolsey/findAndReplaceDOMText#9
that will fix this problem, hopefully.

@alang
Copy link

alang commented Mar 19, 2013

The word "painful" is spelled correctly and shouldn't be highlighted to begin with. Perhaps this is linked to issues in #26?

@peter-klaesson-stratsys
Copy link
Author

No, #26 is not related to this issue. This issue only affects IE8 and is solved by deferring the text normalization. (It is a work around for some timing issue in IE8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants