colorbox icon indicating copy to clipboard operation
colorbox copied to clipboard

onCleanup fires too late for working with inline ckeditor

Open manischewitzbacon opened this issue 16 years ago • 2 comments

I'm using a colorbox with a drupal install on a form that uses ckeditor - loading individual inline fields into the colorbox to edit.

I have to disable the rich text editor until the field has been moved to the colorbox, and then disable it before the field is moved back, otherwise the value gets lost. this worked fine when I did it manually, but having it disable rich text via onCleanup didn't work. Looking at the code, it's because $.event.trigger(event_cleanup); is triggered before the callbacks that I added. It seems like callbacks added in this way should get priority, no?

to get around it, i switched the order of the cleanup callbacks in my src, but this is obviously not optimal...

manischewitzbacon avatar Jun 29 '10 00:06 manischewitzbacon

I agree with what you are saying. In the future onCleanup will come first.

jackmoore avatar Jun 29 '10 00:06 jackmoore

This is driving me crazy!

AlexAllocated avatar Oct 19 '12 04:10 AlexAllocated