Hi,
Using CKEditor 4.4.5.1 and Codemirror 1.11 together are not working. Enabling Codemirror-plugin jast makes the editor disappear for that content editing profile.
It is setup like so:
codemirror is under sites/all/libraries/ckeditor/plugins/codemirror
Under /admin/config/content/ckeditor/edit/myContentProfile -> Advanced options I added
config.extraPlugins = 'codemirror';
Then I get a blank body field where the editor should be. If I remove the line the editor appears correctly.
I also tried the other ways of adding the plugin (https://www.drupal.org/node/1869446) with the exact same results.
Looking at script errors I get:
$ is not a function in plugin.js:904 if (typeof (jQuery) != 'undefined' && $('a[data-toggle="tab"]') && window["codemirror_" + editor.id]) {
I tried with jQuery 1.5 and jQuery 1.10 - same results...
Any suggestions?
Comments
Comment #1
gifad CreditAttribution: gifad commentedJust worked around the problem, the hard way :
Download separately the codemirror plugin, and place it under sites/all/modules/ckeditor/plugins/codemirror
(modules, not libraries)
enable it in your CKEditor profile
correct the offending commands by just commenting :
(around lines 904~908
got no negative effect...
Comment #2
maxilein CreditAttribution: maxilein commentedAll right! Tried that and it works!
Thanks a lot!
Could not spot a negative effect either.
I will leave the issue opened until there is an official solution.