Making cck multi-field, ajax and ckeditor work nicely together

You are here

Contact

Israel Office

+972-52-838-7222

+972-52-430-5252

Europe office

+33-695-805-004

22.11.2011
Making cck multi-field, ajax and ckeditor work nicely together
submitted by: Shunit Ben-Tzvi

The problem:
When clicking "add more values" to add another field to a cck multi-value field, and if you're using ckeditor, the existing multi-value fields will disappear.

So, if you have cck multi-field, and must use ckeditor, here are 3 useful things to do:

  1. Detach the ckeditor instances before attaching them again:
    http://drupal.org/node/712846

  2. Set rtl / ltr:
    http://drupal.org/files/issues/457620-ckeditor-direction.patch

  3. In the wysiwyg module's profiles, set the css to be used to "define css" - then it will load again after ajax is run.

Comments

I don't think so - it doesn't look familiar. Does it work for you?

i didnt, was wondering if you did,
i must say that applying
http://drupal.org/node/712846
didnt work for me as well

Add new comment

blogs