Closed (fixed)
Project:
IMCE
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2022 at 06:49 UTC
Updated:
14 Dec 2022 at 11:29 UTC
Jump to comment: Most recent, Most recent file
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 commentedCommitted. Thanks