I'm using CKeditor 4.1.1 in D7.22, and having happily gotten CKeditor working, I have just run into an oddity. I'm trying to add the Asset module to the site, but having carefully gone through the configuration process I seem to have run into a bug somewhere when I try to configure the new Asset buttons into CKeditor. At this point I find that the drag and drop for moving buttons into and out of the toolbar simply doesn't work any more.
I assume that something must be interfering with the functionality, but I can't work out what. I've tried clearing all the caches, disabling the Asset module, using another browser... nothing seems to work.
Have anyone come across this and could you give me an idea of what the problem might be?
Comments
Comment #1
jcisio CreditAttribution: jcisio commentedDo you have any JS error? Are you sure that it worked before? In that case, this issue should be moved to the Asset queue.
Comment #2
Jordanmt CreditAttribution: Jordanmt commentedI am also unable to move buttons, using 4.1.2. I'm not using the Assets module, however.
In my console I have this error as soon as I try to move a button:
Uncaught TypeError: Object #<Object> has no method 'contains' jquery.ui.sortable.min.js:45
I'm curious to know if martink has determined whether the error is specific to using the Assets module.
Comment #3
tahiticlic CreditAttribution: tahiticlic commentedNo, it is not. I'm not using this module but I experience the same behavior.
Same problem with CKeditor 4.1.3
[Edit] : going back to Jquery 1.5 seems to solve the problem. But it is quite annoying in order to use new JQuery plugins. And it worked with older versions of CKEditor even with JQuery 1.8
Comment #4
gilsbert CreditAttribution: gilsbert commentedHi. I have the same problem when using CKeditor 4+ and jQuery 1.8.
When I use JQuery 1.7 it is ok.
Comment #5
ahimsauzijQuery update set to 1.7 did it. Thanks gilsbert!
Comment #6
frederico CreditAttribution: frederico commentedGoing from jQuery 1.8 to 1.7 fixed the issue for me too. Thanks gilsbert!!
-Frederico
Comment #7
tstermitzYeah. Same problem. JQuery Update set to 1.8 doesn't allow me to drag buttons, but jQuery 1.7 works fine.
Versions:
CKEditor 7.x-1.14 . It now includes the installation of CKEditor (the editor) in libraries/ckeditor
IMCE 7.x-1.9
Picture 7.x-1.3
Ember 7.x-2.0-alpha2
I'm not using WYSIWYG, nor MEDIA.
Comment #8
parsicoola CreditAttribution: parsicoola commentedHi guys. How can I change my jQuery version to lower one??
Comment #9
cossovich CreditAttribution: cossovich commented@parsicoola If you're using the jQuery Update module you can modify your jQuery version at the path admin/config/development/jquery_update
Comment #10
Vako CreditAttribution: Vako commentedThank you very much guys! Downgrading of iQuery worked for me as well.
But hope there will be a solution in CKEditor to handle the latest jQuery versions.
Comment #11
jcisio CreditAttribution: jcisio commentedNow it works with 1.7 and 1.8 but not 1.10. Bump to major because jQuery 1.10 is no longer "too new".
Comment #12
jcisio CreditAttribution: jcisio commentedIn fact, already fixed in #2324383: Toolbar in Ckeditor profile is not saved: incompatibility with jQuery 1.10.