The contrib ckeditor project is installed unexpectedly

Created on 23 February 2023, over 1 year ago

Problem/Motivation

Installing the latest version of the 2.x branch (or 2.5@beta) causes composer to require the contrib version of CKEditor 4 . This is due to how packages.drupal.org treats the drupal:ckeditor dependency. The contrib module will simply override the core version. In general, this isn't a problem, other than the additional (possibly redundant) code—but it would, for example, interfere with any patches applied to core ckeditor.

To avoid the installation of the contrib ckeditor, add the following to your project's composer.json before requiring the new release:

"replace": {
    "drupal/ckeditor": "self.version"
},

See Incorrect version of CKEditor being parsed from info.yml files [#3309838] 🐛 Incorrect version of CKEditor being parsed from info.yml files Active for additional information.

Might be worth calling this out in the release notes of the next 2.x release, and/or the project page.

📌 Task
Status

Active

Version

2.0

Component

Documentation

Created by

🇺🇸United States justcaldwell Austin, Texas

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

Comments & Activities

Production build 0.71.5 2024