- Issue created by @p-neyens
- 🇧🇪Belgium p-neyens
New patch based on the patch from https://www.drupal.org/project/ckeditor_uploadimage/issues/3296782#comment-15101222 📌 Automated Drupal 10 compatibility fixes Needs review
When i visit a block to edit or go to a format configuration page we get the following warning.
Warning: Undefined array key "max_size" in Drupal\ckeditor_uploadimage\Plugin\CKEditorPlugin\DrupalUploadImage->getConfig() (line 92 of profiles/contrib/openfed/modules/d10_compatibility/ckeditor_uploadimage/src/Plugin/CKEditorPlugin/DrupalUploadImage.php).
The issue is caused because the plugin is not enabled and core remove the configuration from the yml file on export.
Add extra checks to see if the setting is defined.
Active
2.0
Code
New patch based on the patch from https://www.drupal.org/project/ckeditor_uploadimage/issues/3296782#comment-15101222 📌 Automated Drupal 10 compatibility fixes Needs review