- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Please lets review if this issue needs a new scope now with composer.library.json added to 8.x-2.x and 3.0.x already.
It would be great if this module supported using the Composer merge plugin to install the cropper.js library, similar to what CKEditor CodeMirror → does for its library requirement.
Install the CKEditor-CodeMirror-Plugin library
For Composer-managed Drupal installations, the recommended method is to use the Composer Merge Plugin and this module's
composer.libraries.jsonfile. From a Composer project root:
Execute
composer require wikimedia/composer-merge-plugin.Add the following to the
extrasection of the rootcomposer.jsonfile:"merge-plugin": { "include": [ "{DOCROOT}/modules/contrib/ckeditor_codemirror/composer.libraries.json" ] },Note: Remember to replace
{DOCROOT}with the appropriate root folder for the Drupal installation -- this is likelywebordocroot.Execute
composer install(or, in some cases,composer update --lock).That's it! Composer should install the CKEditor CodeMirror plugin in the appropriate place (
/libraries/ckeditor_codemirror).
Postponed: needs info
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Please lets review if this issue needs a new scope now with composer.library.json added to 8.x-2.x and 3.0.x already.