Problem/Motivation

Since I upgraded to version 1.4, I'm getting this error in my browser, and CKEditor won't display:

CKEditorError: e.getFirstPosition() is null

Steps to reproduce

  1. place the button on the toolbar
  2. clear cache and attempt to use CKEditor
  3. remove the button from the toolbar
  4. clear cache again, and the editor is now available

Proposed resolution

unknown

Comments

BenStallings created an issue. See original summary.

keshavv’s picture

Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new84.57 KB

Not able to reproduce the issue. Works perfectly for me adding SS.

paulmicha’s picture

I got the error too, exactly as described. Drupal core 10.1.2 , ckeditor5_show_block 1.5.

It seems upgrading the NPM dependencies to latest versions and rebuilding the plugin fixes the issue.

jim22’s picture

Same error with Core 10.1.2 and ckeditor5_show_block 1.5. Patch in #3 fixes it for me. THANKS for the module and the patch!

gaele’s picture

Status: Postponed (maintainer needs more info) » Needs review
gaele’s picture

Status: Needs review » Reviewed & tested by the community

Yes, this fixed it for me too.

vipul tulse’s picture

Status: Reviewed & tested by the community » Closed (outdated)