Webform and a few other modules use the Composer Merge Plugin to automatically download the library and keep the library up-to-date.

I felt it would be beneficial for this module as well, so I copied an implementation done by the patch here: #3024597: Using composer to install library as done in Webform module. Patch incoming!

CommentFileSizeAuthor
#4 3180647-4.patch4.86 KBnwom
#3 3180647-3.patch4.85 KBnwom
#2 3180647-2.patch4.86 KBnwom

Comments

NWOM created an issue. See original summary.

nwom’s picture

Status: Active » Needs review
StatusFileSize
new4.86 KB
nwom’s picture

StatusFileSize
new4.85 KB

Fixed a small problem and whitespace issues in the last patch. Please review.

nwom’s picture

StatusFileSize
new4.86 KB

I changed the version from 4.15.0 to 4.14.1, since Drupal 9.07 hasn't updated to 4.15 yet. Since each library version corresponds to a specific ckeditor version, maybe something would need to be changed here to work with all D8 and D9 versions.

nwom’s picture

Status: Needs review » Needs work

This needs to be altered so that the correct version is pulled depending on Drupal version. 4.14.1 for D9.0.x and 4.15.1 for D9.1.x