1
0
Fork 0
mirror of https://github.com/requarks/wiki.git synced 2026-03-02 22:06:55 -05:00

CKEditorError: ob is undefined #2390

Closed
opened 2026-02-20 19:04:01 -05:00 by deekerman · 4 comments
Owner

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
Screenshot from 2020-12-31 20-51-07
Screenshot from 2020-12-31 20-51-16

Host Info (please complete the following information):

  • OS:PopOS 20.10, docker
  • Wiki.js version: 2.5.17
  • Database engine: postgres
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** ![Screenshot from 2020-12-31 20-51-07](https://user-images.githubusercontent.com/1304311/103433646-05dfab00-4baa-11eb-8040-13ddd8973ffe.png) ![Screenshot from 2020-12-31 20-51-16](https://user-images.githubusercontent.com/1304311/103433647-08420500-4baa-11eb-9d6b-e96f20732405.png) **Host Info (please complete the following information):** - OS:PopOS 20.10, docker - Wiki.js version: 2.5.17 - Database engine: postgres
deekerman 2026-02-20 19:04:01 -05:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@moksamedia commented on GitHub (Jan 1, 2021):

Also getting a very similar "undefined has no properties" error.

Screenshot from 2021-01-01 09-49-42

@moksamedia commented on GitHub (Jan 1, 2021): Also getting a very similar "undefined has no properties" error. ![Screenshot from 2021-01-01 09-49-42](https://user-images.githubusercontent.com/1304311/103443713-c4d1b000-4c16-11eb-950c-783f57031c15.png)
Author
Owner

@NGPixel commented on GitHub (Jan 1, 2021):

Are you using Firefox? Have you tried another browser?

@NGPixel commented on GitHub (Jan 1, 2021): Are you using Firefox? Have you tried another browser?
Author
Owner

@moksamedia commented on GitHub (Jan 1, 2021):

Yes I was. And yes, using Chrome fixed it. What's the problem with firefox?

Thanks.

@moksamedia commented on GitHub (Jan 1, 2021): Yes I was. And yes, using Chrome fixed it. What's the problem with firefox? Thanks.
Author
Owner

@NGPixel commented on GitHub (Jan 1, 2021):

See #2758

@NGPixel commented on GitHub (Jan 1, 2021): See #2758
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki-requarks#2390
No description provided.