Problem/Motivation
When migrating a site from Drupal 7 that had the WYSIWYG module installed and configured on text formats, the expectation is that the new text formats will be configured to use ckeditor5 if that module is installed on the Drupal 9 site. Currently this doesn't appear to always happen, but the cause is not certain.
Steps to reproduce
Migrate a site from Drupal 7 to Drupal 9 that had WYSIWYG enabled on text filters, along with other (core supplied) text filters.
Proposed resolution
Document what is necessary to make the migration to ckeditor5-powered text formats.
Remaining tasks
Identify what is preventing ckeditor5 from being used as a filter on text formats.
Identify whether this should be handled in messages in the UI during the migration, or if it should just be handled in documentation.
User interface changes
n/a
API changes
n/a
Data model changes
n/a
Release notes snippet
TBD
Comments
Comment #2
damienmckennaIn my specific case there are a wealth of modules listed in the install profile:
Drupal core:
automated_cron, block, block_content, book, breakpoint, ckeditor5, config, contextual, datetime, dblog, dynamic_page_cache, editor, field_ui, file, help, image, media, media_library, menu_link_content, menu_ui, node, options, page_cache, path, shortcut, taxonomy, toolbar, views, views_ui
Commerce:
address, commerce, commerce_authnet, commerce_cart, commerce_checkout, commerce_log, commerce_order, commerce_payment, commerce_price, commerce_product, commerce_promotion, commerce_shipping, commerce_store, commerce_tax, entity, inline_entity_form, physical, token, weight
Other contrib modules:
admin_toolbar, admin_toolbar_tools, antibot, crop, ctools, csv_serialization, entity_reference_revisions, exif, facets, field_group, field_hidden, field_permissions, focal_point, link_fix_absolute_urls, menu_block, metatag, paragraphs, pathauto, search_api, search_api_solr, tb_megamenu, transliterate_filenames, twigsuggest, viewfield, views_attach_library, views_bulk_operations, views_conditional, views_data_export, webform
Migration:
migrate, commerce_migrate_commerce, migrate_exclude_entities, migrate_plus, migrate_skip_on_404, migrate_tools, migrate_upgrade, webform_migrate
Once those are installed I run the migration using "drush migrate:upgrade --configure-only" and then "drush migrate:upgrade".
After the migration finished I went to the text formats and none of them had ckeditor enabled, when I went into each one it indicated that ckeditor couldn't be enabled because:
So I'm trying to work out what needs to be changed on the D7 site so that I can run the migration cleanly and have ckeditor5 be set up where wysiwyg currently runs.
Comment #3
wim leersDid this happen for Drupal 7 → Drupal 8 with the CKEditor (4) module? 🤔
Comment #4
wim leersAlso, this is not about an upgrade path; an upgrade path is definitely provided from Drupal 8/CKEditor 4. This is about a migration path from Drupal 7 + https://www.drupal.org/project/wysiwyg.
Comment #5
damienmckennaYou are correct, the issue is about the migration path from D7 + WYSIWYG.
I reran the migration using ckeditor 4 and it comes out the same, so maybe it's a more general problem?
Comment #6
wim leersThat's my point: there has never been a migration from the
wysiwygmodule in Drupal 7 toeditor+ckeditorin Drupal 8.There is no need to worry about the 8 → 9 (CKEditor 4 → CKEditor 5) migration path. The CKEditor 5 module has that covered.
That's why I'm retitling this and rescoping this to what is the real blocker here: a migration path into Drupal 8|9's CKEditor 4.
Comment #7
wim leersTo clarify: there is a text-format-only migration path for the majority of text formats, since #3061571: If no Drupal 8 equivalent filter is found during migration, drop transformation-only filters, so that body fields show up added support for most Drupal 7 filter plugins. This is asking for something else.
Comment #8
wim leersUpdating issue metadata for #6.
Comment #9
damienmckennaThanks for the clarification, Wim, I thought that there might have been a migration path for it.
Comment #14
quietone commentedThe Migrate Drupal Module was approved for removal in #3371229: [Policy] Migrate Drupal and Migrate Drupal UI after Drupal 7 EOL.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3522602: [meta] Tasks to remove Migrate Drupal module and the removal work in #3522602: [meta] Tasks to remove Migrate Drupal module.
Migrate Drupal will not be moved to a contributed project. It will be removed from core after the Drupal 12.x branch is open.
Comment #15
quietone commentedjust updating tags
Comment #16
quietone commentedThe Migrate Drupal and Migrate Drupal UI modules are deprecated and will be removed from Drupal 12. For these modules, effort is now focused on bug fixes and necessary tasks. Therefore, this feature request is closed as won't fix.
Thanks to all for working on this!