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
- place the button on the toolbar
- clear cache and attempt to use CKEditor
- remove the button from the toolbar
- clear cache again, and the editor is now available
Proposed resolution
unknown
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | ckeditor5_show_block-getFirstPositionIsNull-3383218-3.patch | 92.46 KB | paulmicha |
| #2 | Screenshot 2023-08-25 at 12.52.43 PM.png | 84.57 KB | keshavv |
Comments
Comment #2
keshavv commentedNot able to reproduce the issue. Works perfectly for me adding SS.
Comment #3
paulmicha commentedI 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.
Comment #4
jim22 commentedSame 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!
Comment #5
gaele commentedComment #6
gaele commentedYes, this fixed it for me too.
Comment #7
vipul tulse commented