-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
Description
I recently upgraded from Craft CMS 3 to Craft CMS 4 and installed the CKEditor plugin to replace Redactor. After installation, I ran the CLI command:
ddev php craft ckeditor/convert/redactorThe command appeared to run successfully, but I noticed several issues:
- On the homepage, I have two Redactor fields. After converting to CKEditor, only one had its content successfully migrated to CKEditor. The second field was converted structurally, but the content was missing.
- For Redactor fields inside Neo field layouts, the fields are converted to CKEditor, but no data is transferred—they appear empty post-conversion.
Steps to Reproduce:
- Upgrade a Craft 3 project with Redactor fields (including within Neo fields) to Craft 4.
- Install the CKEditor plugin.
- Run
php craft ckeditor/convert/redactor. - Check converted entries, especially those with multiple Redactor fields or Redactor fields inside Neo.
Expected Behavior:
- All Redactor content should be migrated, regardless of field count or nesting (e.g., Neo).
Actual Behavior:
- Only one top-level Redactor field per entry is converted properly.
- Redactor fields inside Neo blocks are not migrated (structure converts, but data is missing).
Additional info
- Craft version: 4.16.2
- PHP version: 8.2
- Database driver & version: 8.0 MYSQL
- Plugins & versions: Ckeditor 3.12.0 and Redactor 3.1.0