The module doesn't work with Drupal 10.6. It's breaking with the error below:
 n.DomConverter is not a constructor (Drupal 10.6 compatability)

CommentFileSizeAuthor
Screenshot 2026-01-07 at 15.30.03.png170.62 KBnnevill
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

nnevill created an issue. See original summary.

nnevill’s picture

Version: 3.0.0-alpha3 » 3.0.x-dev
Status: Active » Needs review

The merge request above fixes the problem.

Cause of Issue: CKEditor 5 DLL Namespace Obfuscation

The error stems from a breaking change in how CKEditor 5 "DLL" (Dynamic Link Library) assets are bundled in Drupal 10.4+ and 10.6. While the CKEditor core libraries are present on the page, the internal classes (such as DomConverter or XmlDataProcessor) are no longer exposed on the global window.CKEditor5.engine object by their original names due to aggressive minification/obfuscation in the core build.

Because third-party plugins often use hardcoded property access (e.g., window.CKEditor5.engine.DomConverter), they return undefined and crash with a TypeError when the plugin attempts to use them as a constructor. This is further complicated by the transition to ESM-based loading, which prevents traditional source imports from resolving correctly at runtime in the browser.

scott_euser’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for this! We tested this out on a client's site and confirmed it solves the issue, and CK Editor 5 now loads again. This is quite critical since when the error occurs, the CK Editor instance is completely empty with no content, yet still loads the toolbar. A hard refresh shows the content is there before CKE loads, but once CKE loads it loads empty.

  • bramdriesen committed 34f34372 on 3.0.x authored by nnevill
    fix: #3566111 TypeError: n.DomConverter is not a constructor (Drupal 10....
bramdriesen’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! Merged and will tag a new release in a minute.

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.