Problem/Motivation
Discovered while working on #3232052: Drupal 10 & CKEditor 5 readiness. Will be obsolete once #3222797: Upgrade path from CKEditor 4's StylesCombo to CKEditor 5's Style is done.
Steps to reproduce
- Go to text format using CKEditor 4 that has the StylesCombo plugin configured
- During automatic migration of its settings, it will crash
Proposed resolution
- Add failing test
- Fix
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork ckeditor5-3244911
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
wim leersTest pushed, should fail 🤞
Comment #4
wim leersComment #5
lauriiiLooks good! Also double checked that null was already documented as a valid return value for
Drupal\ckeditor5\Plugin\CKEditor4To5UpgradePluginInterface::mapCKEditor4SettingsToCKEditor5Configuration, and it was reflected both in the typehint and the docblock.Comment #6
wim leersThanks! Assigning credit prior to merging…
Comment #8
wim leers