- Issue created by @yannickoo
- Merge request !8Issue #3533539: Uncaught CKEditorError: Cannot read properties of undefined (reading 'pencil') β (Open) created by yannickoo
After Drupal has updated CKEditor over in π Update CKEditor 5 to 45.0.0 Active an error appears when trying to click on an embedded content widget inside the editor. Following error message is being thrown in console:
Uncaught CKEditorError: Cannot read properties of undefined (reading 'pencil')
The problem is that icon: e.icons.pencil
inside the JavaScript is invalid and the icon is not available.
Update to latest Drupal version and try to edit an embedded content, also no pencil icon is shown:
We need to install @ckeditor/ckeditor5-icons
package and import icon like import { IconPencil } from '@ckeditor/ckeditor5-icons';
then.
After doing this it looks like this again:
Active
2.0
User interface