craftcms / craftcms/ckeditor

ckeditor/convert redactor to ckeditor issue with matrix feilds

Open
#208 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
47
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Description

I ran php craft ckeditor/convert to convert redactor to ckeditor. Everything worked great, except it didn't detect a matrix field. The matrix field is called "Page Content" It has 4 block types. then within each block type, are 5 to 15 other fields. There were a few Redactor fields within them, and it did not detect it

Steps to reproduce
  1. run php craft ckeditor/convert on a matrix field that has different block types and redactor fields within them
Additional info
  • Craft version: 4.8.7
  • PHP version: 8.2.16
  • Database driver & version: MySQL 5.7.39
  • Plugins & versions: CKEditor3.8.3 + the latest redactor before you discontinued it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with php craft ckeditor/convert against a Matrix field containing block types with nested Redactor fields. Trace the conversion command's Matrix-field handling and verify that all nested Redactor fields are detected and converted without affecting other fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.