CKEditor doesn't work with CCK multifields: When you click on add another item the editor disappear from the 2 textareas first items and their content is erased.

Files: 

Comments

The same happens, when you try to sort mutliple fields with activated CKEditor. The only possibility to avoid this, is to disable the editor before moving or adding a field.
Maybe there is a possibility to automatically disable the editor before the move- or add-action and to automatically re-enable the editor afterwards?

Version:6.x-1.2» 6.x-1.1

I can also confirm this is a problem. I had to change the way I was going to build the page because I could not use multifield textareas with CKEditor applied.

Version:6.x-1.1» 6.x-1.2
Priority:Normal» Major

I can confirm this with the latest 6.x version.

Priority:Major» Critical

Confirming issue with latest version 6.x-1.2.

Same issue with 7.x-1.x-dev
As long as added fields have been saved once, one can add new fields or change any field order without loss of anything.
But if one add fields all unsaved fields are lost and if one change order of an unsaved field this field is lost.

Version:6.x-1.2» 6.x-1.5

In http://drupal.org/node/1206244: CKEditor have problems with CCK multifields and we cannot do anything with it now, it will be new version 6.x-2.x of CKEditor module after release 7.x-2.x and then it will be possible...
I closed this issue as duplicate.

If so I repeat here:

In a multi-value field I can "Add another value". The prev. values does not show the ckeditor, but the fields is not erased! I write a value into the newly added field and press [Save] (or [Save and Edit]) and the newly added field dissapear. If I press [Browse] the field is still there but is empty. But if I press [Browse] and write my text again, the text is not erased.

If I press [Add another value] before I press [Save] the prev. field's value(s) is erased.

In another thread I have read about "weight". My problem occured after installing som other modules (I don't remember wich). After that the thread said something about changing the weight of (something...?) Sorry...

I hope that ckeditor 6.x-2.x will come soon. Do you think when...?

I have 5 sites with ckeditor and multi-value field.
Only 2 sites have had my problem. One of them was given a "weight" (see above).
Do anyone know the thread for that (I can't find it again)?

Version:6.x-1.5» 6.x-1.7

Drag and drop issue has been fixed in latest version (1.7) : http://drupal.org/node/1296804

Issue when clicking "Add another item" still remains.

I have 3 sites i build with these versions of cck and ckeditor and only one has this problem
what i cant figure out is the difference between them that makes the ckeditor break in this site only,
seems like only difference is the names of the fields

Version:6.x-1.7» 7.x-1.9

That’s still an – very disappointing – issue :-( (It’s an issue with WYSIWYG as well.)

I am also having this problem. Can we get a status update to understand where this sits on the roadmap? (I want to determine if I should be finding another approach and/or adjusting UX expectations.) Thank you for all your work on this!

Version:7.x-1.9» 6.x-1.7

@yatil and others, please don't change module versions between 6.x and 7.x versions. This is really confusing for developers and users. If you have similar problem with 7.x version , please create new topic for it and link it here (and this ticket in new one ). This will be much easier for us and other users.
I mark this ticket back to 6.x version.

I applied this patch to the WYSIWYG module and it's working like a charm.

http://drupal.org/node/1155678#comment-5358290

Title:CKEditor doesn't work with multi fieldCKEditor doesn't work with CCK multiple fields
Version:6.x-1.7» 6.x-1.x-dev
Status:Active» Needs review
StatusFileSize
new675 bytes

Here is a quick fix for this issue.
It should be tested with all kinds of multiple fields to ensure it does not break anything.

I have tried this patch. - Problem is status quo - sorry. Add new field empty prev. field(s).

Have you flushed *all* your caches after applying (Drupal & Navigator)?
What multiple field do you use? Please provide as much detail as possible.

Yes: All caches are flushed. An update.php has been run.
But my CKEditor is version 6.11.
I use multiple field with a text/textarea:

  1. Plain text: Same problem
  2. Filtered text (Full HTML): Same problem

If I NOT press Save and Edit after every field, the last filled field has text. After Save all text is gone.
If I press Save and Edit after every field, the first field has text and the rest of field has no text.

Please post the following informations:
- ID displayed for CKEditor: the ID for excluding or including this element is xxxxxx. under text/textarea fields when you edit a node
- your CKEditor Visibility settings (both Profiles and Global)

Now I have installed CKE 1.12 and something has been better.

The ID is garland:(contenttype)@node/(nid)/edit.edit-field-(fieldname)-(number)-value,
like: garland:moder@node/1957/edit.edit-field-mo-dagsordenpunkt-0-value

The Visibility settings for Profiles is empty
The Visibility settings for Global does not include this node

Todays issues:

  • When I open the node, I see CKE i alle multible fields
  • When I press [Add another item] CKE is shown on the new item, but dissapears on previous item(s).
    (Now I write something in the new field)
  • If I press [Add another item] without saving, everything ind the last field dissapears, AND the text in the new field cannot be saved.
  • BUT if I press [Save] og (better) [Save and edit]*) before I press [Add another item], the previous items is saved and I can write a new text in the new field.
  • Then I MUST remember to save (and edit) the node.

Now I have upgraded a site with theme Mix and Match to CKE 1.12 and CKeditor 3.6.5, wich is the newest version to use with D6.
When I add a new item and write something there - and save, the newest item dissapear and the text is not saved.
It looks like "status quo".

I can report a similar issue (which may have the same reason), and where I noticed an interesting condition which may help to solve the issue.

Description:

  • We use the current CKeditor version (6.x-1.13) and have a content type with an image field and a body field on our site.
  • Added a node with an image and some text.
  • Edited the node again after saving, and removed the image from the correspondend field.
  • As a result, the rich text editor disappeared for a short moment, the text was gone.

On our site, this happened only to 'editor' users, but not to user 1. So I tried to change some permissions and noticed a relevant one: If the permission "administer nodes" is granted to the editor role, everything is ok. Unfortunately, we don't want to use this permission, but maybe it's useful for someone to find the reason for the issue.

@Olafski,
thank you for detailed information. We will check this.

same issue with multiple groups
the ckeditor disappears on all fields in the group when hitting the "add more" button

patch on #13 doesn't resolve this issue