-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Error in console (Cannot read property 'isContextFor' of null) for list plugin #1439
Comments
I can confirm it. Reproduced with CKE 4.8.0 full, standard, basic preset. Interestingly there is no selection in the editor in this case. As someone will have a look on it here's what I see:
I was able to reproduce it on Windows 10. On Ubuntu it's even worse, as clicking any area below the paragraph will not put a proper selection. I'd like to know how it behaves on a MacOS. It does look to me like a Chrome upstream issue, that we did not take seriously earlier. We could patch more, and more methods not to fail when there are no selections in the editor, but that'd not be fixing a source of issues. |
For the time being I'll set it as confirmed, but after a closer review I expect it will turn to an upstream. Definitely something worth checking. |
After research I've reported an upstream issue in Chromium issue tracker. https://bugs.chromium.org/p/chromium/issues/detail?id=861673 Chrome is returning selection with 0 ranges when clicking outside of contenteditable, even when contenteditable still has focus. I'm closing this issue as upstream. |
From what i have checked this problem occurs only in Chrome and only Win 10 and Linux. On Mac it works fine. |
From what I have checked this problem occurs only in Chrome and only in Win 10 and Linux. On Mac it works fine. During my tests I noticed that selection gets lost whenever user selects end of text e.g. in a paragraph and then clicks on In order to work around this problem I have set |
Are you reporting a feature request or a bug?
Bug.
The issue is already reported:
There is a very similar issue resolved here #478.
Provide detailed reproduction steps (if any)
Expected result
No JavaScript error in console.
Actual result
JavaScript error in console:
Other details
The text was updated successfully, but these errors were encountered: