mirror of
https://github.com/requarks/wiki.git
synced 2026-03-02 22:06:55 -05:00
CKEditorError: ob is undefined #2390
Labels
No labels
BETA
BETA
accessibility
backlog
bug
can't replicate
contrib-easy
contrib-hard
contrib-medium
deferred
documentation
duplicate
duplicate
editors
enhancement
invalid
localization
migrate
ui
under review
v3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wiki-requarks#2390
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @moksamedia on GitHub (Dec 31, 2020).
Originally assigned to: @NGPixel on GitHub.
Describe the bug
I'm seeing a lot of errors in the web console. "CKEditorError: ob is undefined." Seems to be triggered by deleting newlines/empty lines. See screenshot below. I add some simple content and put cursor to the beginning of the line or an empty line and delete.
Testing some more. This definitely seems to be a problem with blank lines. If I press enter a few times and backspace the blank lines, I get the errors. Interestingly, if I go to the top of the blank lines and use the delete button (to delete the blank lines from "above"), I don't seem to be able to get this error.
Also, I have reproduced this using both the @requarks/ckeditor5 dependency and an separate local ckeditor5 dependency. When I try the sample/index.html editor in the local ckeditor5, I cannot reproduce this issue.
Screenshots


Host Info (please complete the following information):
@moksamedia commented on GitHub (Jan 1, 2021):
Also getting a very similar "undefined has no properties" error.
@NGPixel commented on GitHub (Jan 1, 2021):
Are you using Firefox? Have you tried another browser?
@moksamedia commented on GitHub (Jan 1, 2021):
Yes I was. And yes, using Chrome fixed it. What's the problem with firefox?
Thanks.
@NGPixel commented on GitHub (Jan 1, 2021):
See #2758