-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matrix blocks with multiple redactor fields aren't all converted #349
Comments
I’m experiencing the same issue mentioned here. Additionally, I've noticed that after running the command:
all previously enabled/selected asset volumes in Redactor fields are being deselected. This results in broken links for content that was previously set up using the Redactor fields. In my circumstance, I think the asset volume issue might stem from the migration process from Craft 3 to Craft 4. During the migration, filesystem configurations silently fail to be created, which likely caused the asset volumes settings within the newly converted ckeditor fields to be omitted completely. I made an issue over on the Craft CMS repo about this, you can find that here. Additionally, I found this stack overflow post which describes the migration issue, but it unfortunately doesn't have any solutions. |
Just to follow up: I've fixed the issue about the filesystems not being automatically created. This had to do with there being deprecated syntax located within my projects However, the main issue this post references is still at play. All ckeditor fields located within matrix fields are now missing content, regardless if there are one or more ckeditor fields existing in a single block. |
Could you please try what’s described in this comment: #301 (comment)? @jpcarpenter, you could also try doing your 3 -> 4 upgrade first, and once that’s done and everything works as expected, do the Redactor to CKEditor conversion. |
@i-just that worked! Just to recap for anyone in the future: I resaved all entries via |
Description
If a matrix block contains more than 1 redactor field, running
php craft ckeditor/convert
will only convert 1 of them. Note that they all seem to be converted in the project config so running the command again doesn't find them, however, only 1 of them is actually converted in the database.Steps to reproduce
redactor
fieldsphp craft ckeditor/convert
Additional info
The text was updated successfully, but these errors were encountered: