Download the PHP package egorlaw/ckeditor_codemirror without Composer
On this page you can find all versions of the php package egorlaw/ckeditor_codemirror. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download egorlaw/ckeditor_codemirror
More information about egorlaw/ckeditor_codemirror
Files in egorlaw/ckeditor_codemirror
Package ckeditor_codemirror
Short Description Composer wrapper for CKEditor Codemirror plugin
License MIT
Homepage https://github.com/egorlaw/ckeditor.codemirror
Informations about the package ckeditor_codemirror
CKEditor Codemirror Plugin
This is a mere copy of the CKEditor Codemirror made for the only purpose to serve it via $ composer install
on Packagist.org
All the issues and the questions sould be referred on the original developer.
Notes about install
Inside your drupal project's composer.json there's a little hack that needs to be applied, as there's a problem with installation. You'll write down something like:
The $ composer install
comand will do everything quite correct and will place the codemirror plugin inside your library folder as ckeditor_codemirror
. There's a little problem with that: The contrib module ckeditor_codemirror is looking into another path:
library/ckeditor.codemirror/plugin.js
and unfortunatly it's hardcoded. So to avoid patching the module just make sure to rename the folder during the $ composer install
by adding this row inside extras.installer-paths:
"web/libraries/ckeditor.codemirror": ["egorlaw/ckeditor_codemirror"],
BEFORE the "web/libraries/{$name}": ["type:drupal-library"],
row!
Resulting in :