Update drupalFile.js for compatibility with the latest CKEditor version

Created on 19 June 2025, about 1 month ago

Problem/Motivation

With the update to Drupal Core 11.2.0, CKEditor was upgraded from v44.0.0 to v45.2.0. This upgrade introduces breaking changes that require updates to drupalFile.js in the editor_file module to maintain compatibility.

In CKEditor 45, the custom LinkActionsView has been replaced with a standard ToolbarView. Now, the toolbar is accessible via LinkUI#toolbarView instead of LinkUI#actionsView and is configurable through the link.toolbar configuration option.

As a result of these changes, the current implementation of drupalFile.js is no longer compatible and leads to integration errors.

Proposed resolution

The drupalFile.js file within the module needs to be updated to account for these API changes in CKEditor, ensuring compatibility and correct functionality with the latest CKEditor version. Thorough testing should be performed to avoid regressions.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ͺπŸ‡¨Ecuador leoenriquezp

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024