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

jcisio’s picture

Do you have any JS error? Are you sure that it worked before? In that case, this issue should be moved to the Asset queue.

Jordanmt’s picture

I 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.

tahiticlic’s picture

No, 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

gilsbert’s picture

Hi. I have the same problem when using CKeditor 4+ and jQuery 1.8.
When I use JQuery 1.7 it is ok.

ahimsauzi’s picture

jQuery update set to 1.7 did it. Thanks gilsbert!

frederico’s picture

Going from jQuery 1.8 to 1.7 fixed the issue for me too. Thanks gilsbert!!

-Frederico

tstermitz’s picture

Issue summary: View changes

Yeah. 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.

parsicoola’s picture

Hi guys. How can I change my jQuery version to lower one??

cossovich’s picture

@parsicoola If you're using the jQuery Update module you can modify your jQuery version at the path admin/config/development/jquery_update

Vako’s picture

Thank 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.

jcisio’s picture

Title: Can't drag and drop buttons in the configuration screen » Can't drag and drop buttons in the configuration screen with jQuery 1.10
Version: 7.x-1.13 » 7.x-1.x-dev
Priority: Normal » Major

Now it works with 1.7 and 1.8 but not 1.10. Bump to major because jQuery 1.10 is no longer "too new".

jcisio’s picture

Status: Active » Closed (duplicate)