-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Chrome] Error throws in the image description after random typing #578
Comments
Hm... confirmed. When I type blabla quick enough the error is thrown. |
I can't reproduce this issue on http://localhost:8125/ckeditor5-image/tests/manual/caption.html though. And I can do this on http://localhost/ckeditor5/build/docs/ckeditor5/0.11.0/examples/builds/classic-editor.html. Interesting. It seems that page styling affects it. |
Yeah, that's definitely due to styling because when I loaded the docs before Umberto generated their CSS, I could not reproduce this issue. |
It's interesting that styling might easily destroy the editor. |
OK, for some reason, a common ancestor of these mutations is a text node. Such situation should not be handled by |
We could add this class but it will require some refactoring of the styles across the project. There are many usages of the |
@oleq, could you estimate how hard would this change be? And if it makes sense in general? I see that right now, nested editable has only the |
The change is not hard but it is spread across multiple repositories and, most certainly, Letters too. I think the right moment to do this will be after #420, though. |
I cannot reproduce this issue. Can anyone confirm? |
OK. I check that and the |
…ested editable CSS class naming convention (see ckeditor/ckeditor5#578).
…_editable + .ck-editor__nested-editable combo to disable Grammarly. Closes ckeditor/ckeditor5#578.
…ming convention (see ckeditor/ckeditor5#578).
Fix: Replaced nested editable's `.ck-editable` class with `.ck-editor__editable` + `.ck-editor__nested-editable` to stop Grammarly throwing errors. Closes ckeditor/ckeditor5#578. BREAKING CHANGE: The `.ck-editable` class is no longer available. Use the `.ck-editor__nested-editable` class instead.
Tests: Updated image tests to the latest nested editable CSS class naming convention (see ckeditor/ckeditor5#578).
Other: Updated the classic editor and the editorui styles to the latest nested editable CSS class naming convention (see ckeditor/ckeditor5#578).
Docs: Updated snippet styles to the latest nested editable CSS class naming convention (see #578).
Steps to reproduce
Error:
The text was updated successfully, but these errors were encountered: