ckeditor

22.11.11 @ 11:25

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.