Use the following steps to update the text format to use CKEditor 5, remove the old CKEditor, and upgrade your Drupal core version to the latest version.
- Switch from CKEditor 4 to CKEditor 5.
Install the CKEditor 5 module with the following command:
./vendor/bin/drush en ckeditor5
Click Configuration > Content authoring > Text formats and editors.
Alternatively, append /admin/config/content/formats
to your application name.
Update each text format, such as Filtered HTML and Full HTML, to use CKEditor 5.
For more information, see Using the CKEditor5 text editor for the “Site Studio” text format.
Uninstall any previous version of the CKEditor module.
./vendor/bin/drush pmu ckeditor
./vendor/bin/drush cex
Commit all changes, deploy them to your development environment, and run the following commands:
./vendor/bin/drush cr
./vendor/bin/drush cim --yes
./vendor/bin/drush updb --yes
- Verify that the site in your development environment works as expected.
- Upgrade your Drupal core version.
Remove incompatible and insignificant modules.
composer remove drupal/upgrade_status
Composer remove acquia/http-hmac-php
Add the HAL module to the codebase because it is removed from core 10.
composer require 'drupal/hal:^2.0' --no-update --no-install
Add the latest version of core and contrib module.
You can remove modules that are not used in the project. For example, Webform and Google Analytics.
composer require "drupal/core-composer-scaffold:^10" "drupal/core-recommended:^10" drupal/webform:^6 drupal/google_analytics:^4 drush/drush:^12 --no-update --no-install
Install the latest Drupal core and its required dependencies with the following command:
Perform post upgrade activities.
./vendor/bin/drush cr
./vendor/bin/drush updb -y
./vendor/bin/drush cex
./vendor/bin/drush coh:import
./vendor/bin/drush coh:rebuild
Commit all the changes, deploy them to your development environment, and run the following commands:
./vendor/bin/drush cr
./vendor/bin/drush cim --yes
./vendor/bin/drush updb --yes
- Verify that the site in your development environment works as expected.