I am trying to use both ckeditor and codemirror
The problem is because ckeditor has a plugin also called codemirrow
Is there anyway to make them work together?
Basically... rename one of the plugins. Change directory name and the name of registered plugin in the line:
CKEDITOR.plugins.add( someNewName, { ... } );
Then check whether the plugin refers to itself somewhere inside of own body via editor.plugins
. Correct it if necessary (most likely there's nothing like that).
If there are some dialogs with redundant names, repeat the process by changing:
CKEDITOR.dialog.add( someNewName, function( editor ) { ... } );
Finally, change your configuration file so it loads the renamed plugin. That's all. That was easy, wasn't it? ;)