- Issue created by @scott_euser
- šµš±Poland salmonek
Hi @scott_euser
We're aware of this warning. It is being kept for backwards compatibility and as for now besides displaying warning it doesn't produce errors.
DocumentList plugin is used in Comments and Collaboration (as suggestions can be commented), it allows to add list in comment (using autoformat functionality).
In Drupal up to 10.2 with CKEditor 5 versions prior to 41.0.0 there were available plugins DocumentList and List (incompatible with Drupal's core CKEditor 5 build).
CKEditor 5 v41.0.0 (v41.3.1 is in Drupal 10.3) changed the plugin names:
DocumentList -> List
List -> LegacyList
DocumentList became obsolete, but sill an alias for ListThe problem with changing plugin used in the module to List would be that for sites using Drupal prior to 10.3 it would mean to change to unsupported plugin.
So up until DocumentList is kept as alias (or we'll gain info that it causes some error), we'll be willing to not put that change into official release.
In case you would like to get rid of that warning I'm posting a patch that is compatible with Premium Features v1.3.2 which chnages the plugin.I'll set the status to postponed. We can close after chnage will land in official release.
- š¬š§United Kingdom scott_euser
Okay sounds good, and thanks for the patch!
- š¬š§United Kingdom scott_euser
I did try out the patch but actually that leads to a complete error rather than warning, so will leave it off for now.
Here is the error in case you need it:
ckeditor5.js?sluq6o:464 Debugging can be done with an unminified version of CKEditor by installing from the source file. Consult documentation at https://www.drupal.org/node/3258901 hook.js:608 CKEditorError: plugincollection-soft-required {"missingPlugin":"DocumentList","requiredBy":"CommentsAdapter"} Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-plugincollection-soft-required at ckeditor5-dll.js?v=41.3.1:5:125401 at ckeditor5-dll.js?v=41.3.1:5:125545 at Array.forEach (<anonymous>) at u (ckeditor5-dll.js?v=41.3.1:5:125347) at ckeditor5-dll.js?v=41.3.1:5:123978 at Array.reduce (<anonymous>) at e (ckeditor5-dll.js?v=41.3.1:5:123929) at l.init (ckeditor5-dll.js?v=41.3.1:5:124054) at V.initPlugins (ckeditor5-dll.js?v=41.3.1:5:133962) at editor-classic.js?v=41.3.1:4:10883
- šµš±Poland salmonek
Attaching updated patch.
Previous one didn't change library version, so besides cache rebuild a browser's cache flush was required.
This one requires only cache rebuild.