Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
InvalidArgumentException: Property label with value Imce Link does not exist on Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition. in Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition->__construct() (line 52 of docroot/core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php).
Issue fork imce-3324281
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 #2
vipin.mittal18Unable to edit the text format on Drupal 9.5.0-rc1 due to following error:
InvalidArgumentException: Property label with value Imce Image does not exist on Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition. in Drupal\ckeditor5\Plugin\CKEditor5PluginDefinition->__construct() (line 52 of /home/ide/project/docroot/core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php).
Comment #3
RajeshreeputraComment #5
balintpekkerComment #7
balintpekkerThe label property is unnecessary in @CKEditor5Plugin annotations as they are declared below in the 'drupal' key, correctly. I'm uploading the diff of the merge request as a patch, too.
Edit: Couldn't add test to the 3.x-dev version, the patch will fail to apply on 8.x-1.x and 8.x-2.x. Tested locally on D9.5 and D10, removing the label key does not break D10 version, however it fixes D9.
Comment #8
balintpekkerComment #9
RajeshreeputraIt worked as expected.
Comment #10
vipin.mittal18@Balint Pekker: Yes we are able to continue on text formats on 9.5 RC version as well. Patch works. Thanks very much!!
RTBC+1
Comment #12
ufku CreditAttribution: ufku commentedCommitted. Thanks