Problem/Motivation

After Upgrading from Drupal 10.5 to 11.2.0, we faced following two issues:
1. The CKEditor with active Cookie Content Blocker button does not appear on the content edit form, and following JS error is logged in the browser console:

TypeError: e.icons is undefined
    d https://www.example.com/modules/contrib/cookie_content_blocker/js/build/cookieContentBlocker.js?sypqcf:1
    _createForm https://www.example.com/modules/contrib/cookie_content_blocker/js/build/cookieContentBlocker.js?sypqcf:1
    init https://www.example.com/modules/contrib/cookie_content_blocker/js/build/cookieContentBlocker.js?sypqcf:1
    promise callback*./packages/ckeditor5-core/src/index.ts/init/m/< https://www.example.com/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js?v=45.2.0:5
    m https://www.example.com/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js?v=45.2.0:5
    init https://www.example.com/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js?v=45.2.0:5
    initPlugins https://www.example.com/core/assets/vendor/ckeditor5/ckeditor5-dll/ckeditor5-dll.js?v=45.2.0:5
    create https://www.example.com/core/assets/vendor/ckeditor5/editor-classic/editor-classic.js?v=45.2.0:4
    create https://www.example.com/core/assets/vendor/ckeditor5/editor-classic/editor-classic.js?v=45.2.0:4
    attach https://www.example.com/core/modules/ckeditor5/js/ckeditor5.js?sypqcf:373
    editorAttach https://www.example.com/core/modules/editor/js/editor.js?v=11.2.0:304
    attach https://www.example.com/core/modules/editor/js/editor.js?v=11.2.0:228
    attach https://www.example.com/core/modules/editor/js/editor.js?v=11.2.0:211
    attachBehaviors https://www.example.com/core/misc/drupal.js?v=11.2.0:166
    attachBehaviors https://www.example.com/core/misc/drupal.js?v=11.2.0:162
    <anonymous> https://www.example.com/core/misc/drupal.init.js?v=11.2.0:32
    listener https://www.example.com/core/misc/drupal.init.js?v=11.2.0:20
    domReady https://www.example.com/core/misc/drupal.init.js?v=11.2.0:26
    <anonymous> https://www.example.com/core/misc/drupal.init.js?v=11.2.0:31
    <anonymous> https://www.example.com/core/misc/drupal.init.js?v=11.2.0:34
ckeditor5.js:467:19

2. For existing content where media was inserted via the cookie content blocker before the upgrade, you can no longer unblock the media content in the frontend with ‘Show content’ - nothing happens when you click on it.

CommentFileSizeAuthor
#6 3533370-6.patch454.1 KBhmdnawaz
Command icon 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

e5sego created an issue. See original summary.

e5sego’s picture

Issue summary: View changes
hmdnawaz’s picture

We are facing the same issue and same console error is displaying

hmdnawaz’s picture

Status: Active » Needs review
hmdnawaz’s picture

StatusFileSize
new454.1 KB

patch from MR

bhogue’s picture

Confirming that patch fixes issue introduced by change in CKE icon handling.

e5sego’s picture

Sorry for the delay.

The patch #6 fixes the first problem with CKEditor. Thank you.

The second problem was just configuration error.

sjerdo’s picture

Thanks for providing the patch! We will make sure to commit this and tag a new patch release

sjerdo’s picture

Status: Needs review » Reviewed & tested by the community

  • sjerdo committed 6bb0d0f5 on 8.x-2.x
    feat: #3533370 Editor and Filter won't work after Updating to D11
    
    By: @...

sjerdo’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in version 2.6.0

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.