-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Safari autocorrect behavior #565
Comments
Can anyone reproduce this problem?
|
I am able to reproduce this in desktop safari but not mobile. Specifically on the quilljs.com homepage:
The two workarounds right now are to either continue typing at least one non-whitespace character before correcting the spellchecked word or to disable to checker altogether by setting the spellcheck attribute to false in the Quill editor div. |
The usual autocorrect behavior in Safari is to replace a misspelled word automatically the first time, and then leave it alone if you go back and revert the change.
With Quill, the behavior is different. Even after going back and reverting the autocorrected word, it will be autocorrected again and again, which can be pretty infuriating when trying to write words that don't exist in the dictionary.
I'm suspecting this may be because of how Quill regenerates parts of the DOM every time unlike a traditional contenteditable, which would prevent the browser from tracking what words were autocorrected already. But that's just me speculating.
The text was updated successfully, but these errors were encountered: