Problem/Motivation
After Drupal has updated CKEditor over in #3523018: Update CKEditor 5 to 45.2.0 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.
Steps to reproduce
Update to latest Drupal version and try to edit an embedded content, also no pencil icon is shown:

Proposed resolution
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:

| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3533539.patch | 16.02 KB | mauro_ |
Issue fork embedded_content-3533539
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
yannickooComment #4
loon commentedRTC
Comment #5
mauro_ commentedConfirming this MR solves the issue for me. Issue occurred after upgrading from ckeditor5_embedded_content to this one. Attached a patch from MR for those looking to solve.
Comment #6
jaydee1818 commentedThe patch also works for me.
Comment #8
nuez