Incompatible with Drupal Core 10.5 / CKEditor 45 (Icons)

Created on 1 August 2025, 1 day ago

Problem/Motivation

After upgrading to Drupal 10.5.0 or higher — or on a fresh installation of Drupal 10.5.0 — enabling the ai_image CKEditor 5 plugin and assigning its toolbar button to a text format causes the CKEditor widget to fail to load (e.g., on a node/add page).

In the browser console, CKEditor throws a JavaScript error:
TypeError: Cannot read properties of undefined (reading 'check')

Steps to reproduce

1. Install Drupal 10.5.0 or higher with the Standard install profile and ai_image.
2. Enable Ai Image on the Basic or Full HTML text format.
3. Go to /node/add/article — note that CKEditor did not load. Check the browser console

Proposed resolution

Fix breaking changes from the CKEditor documentation on Updat[ing] to CKEditor 5 v45.x.

Remaining tasks

1. Write a patch
2. Review and feedback
3. Commit
4. Release

User interface changes

None anticipated.

API changes

None anticipated.

Data model changes

None anticipated.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇴Colombia yovanny.gomez.oyola

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024