Problem/Motivation
This module says there is no other dependency than popperjs. Which is great. But also requires Ckeditor installed to work, which in my opinion is not really a requirement.
I checked the code, and there are several checks to see if ckeditor module is installed. There is no need to force installing it as a dependency via composer and the info file.
Also it would enable users that only want to display tooltips to use this module, even if there is no CKEditor 4/5 installed in the site.
Steps to reproduce
Attempt to install the module, it will force you to enable ckeditor.
Proposed resolution
Remove the ckeditor dependency from the info file, and remove the composer.json file as it is not required to download this package either.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | tooltip-ckeditor5-plugin-to-apply-on-packaging.patch | 70.89 KB | ajeet_kumar |
| #5 | tooltip-3394050-4.patch | 674 bytes | dahousecat |
| #3 | 3394050-3.patch | 342 bytes | balagan |
| #2 | 3394050-2.patch | 1007 bytes | dagmar |
Issue fork tooltip-3394050
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
dagmarComment #3
balagan commentedReroll for 1.1.2.
(I lied, this is not a reroll, the composer.json modification is missing, so it still needs some work).
Comment #4
jaypanI agree with removing the dependency on ckeditor. I have downloaded this patch and tested it locally and it works.
Comment #5
dahousecat commentedPatch 3 would not apply for me due to the "Information added by Drupal.org" bit so I've created a version with that it in.
Comment #6
ajeet_kumarComment #7
florismoriceauPatch #5 from @dahousecat is working fine.
Patch #6 does not fix the actual issue. We don't want to have CKE5 instead. Just remove the CKE dependency.
Comment #10
bluegeek9 commentedI made a MR.
Comment #11
baysaa commentedCould we get a release please, this is blocking Drupal 11 installation and causing pains via composer because of the CKEditor dependence
Comment #12
baysaa commentedIf anyone else is struggling like me, looks like adding "drupal/ckeditor" to "extra.drupal-lenient.allowed-list" is the only way to install 1.1.2 and apply this patch on Drupal 11.
Comment #13
benjamin_dk commentedA release would be much appreciated - I am also struggling with the dependency on CKEditor.