Currently, if you use a tinymce or fckeditor (I haven't tested the others) on a CCK text field with "Number of values" set to unlimited, when you click "Add another item", content that you entered for any of the other items that have the editor enabled get lost, and all the items get reset with the content that existed since last saving the node, last clicking "add another item", or last disabling the editor for that item.

I created a module that fixes this: Wysiwyg API CCK Integration.

Ideally, this fix should be part of Wysiwyg API. However, there's a challenge currently with dependencies. I'm just opening this issue here to help track it, use as a reference for other issues, and/or help facilitate discussion on this topic.

There's an issue for the CTools project that relates to this: #350035: Implement Drupal.detachBehaviors(). I'll add a comment there linking back here as well.

Comments

sun’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of #350035: Implement Drupal.detachBehaviors(). Please search for existing issues before creating a new one. You can follow up on that issue instead to track its status. If any information from this issue is missing in the other issue, please make sure you provide it over there.

However, thanks for taking the time to report this issue.

stomerfull’s picture

Hello,

effulgentsia > thank you very much for your module
You really save me

thank you