Hi,

I chose "Number of values:" to allow multiple values in the Global Settings for a multiple line text box field. When creating the content type, clicking "Add Another Item" will make fckEditor disappear for the text box fields.

-Tim

Comments

yched’s picture

Title: "Add Another Item" button will make fckEditor disappear. » CCK's "Add Another Item" button will make fckEditor disappear.
Project: Content Construction Kit (CCK) » FCKeditor - WYSIWYG HTML editor
Version: 6.x-2.1 » 6.x-2.x-dev
Component: General » Code

I'd say this is a bug of FCK, which doesn't attach itself using drupal js 'behaviors'.
It then doesn't get reattached when content gets updated through AHAH. There's nothing CCK can do about it.

Reassigning to FCKeditor, please update the issue description with the actual module version you are using.

TimG1’s picture

Version: 6.x-2.x-dev » 6.x-1.3-rc7

I'm using FCKEditor 6.x-1.3-rc7. Just updated this in the "version" dropdown.

joostvdl’s picture

Subscribing

Jorrit’s picture

Version: 6.x-1.3-rc7 » master
Status: Active » Postponed
Issue tags: +javascript rewrite

FCKeditor does not dynamically attach itself to text areas. Changing this is a lot of work, and can only be done in a new major version, such as 3.x.

narky’s picture

Ran into the same problem as the OP. Assumed as much as Jorrit's comments, now confirmed. Will wait for FCKeditor 3.x.

In the meantime, thanks for all the hard work! The FCKeditor module's maintainers (along with those of many other key modules) provide an invaluable service to the entire Drupal community.

Andymeows’s picture

Is there any workaround for this? I'm trying to create a compound CCK field with a title (textfield) and a body (CKeditor textarea) with an unlimited count (which enables the "Add Another Item" button). When I click add another item, it results in broken textareas.

I've tried with multiple combinations of modules (FCKeditor, CKeditor, WYSIWYG module) and have had mixed results, but none have completely worked.

I actually just tried (while writing this post) using the WYSIWYG module with the YUI editor and nicEdit, and they're both working fine. The problem is happening with the FCKeditor 2.6.6 and CKeditor 3.3.1.5586.

wmostrey’s picture

I'm also interested in a workaround/fix for this issue.

Andy, thank you so much for pointing out that wysiwyg + yui/nicedit does work with multi-value fields!

wmostrey’s picture

For everyone interested, I wrote down my solution for wysiwygs and multi-value fields. It doesn't work with the FCKeditor module though, but it does work with Wysiwyg + FCKEditor.

wmostrey’s picture

Status: Postponed » Fixed

Since this module is 'Development status: Maintenance fixes only', I'm marking the issue as fixed based on the given feedback.

Status: Fixed » Closed (fixed)
Issue tags: -javascript rewrite

Automatically closed -- issue fixed for 2 weeks with no activity.

nikunjkagathara’s picture

Version: master » 5.x-2.2-rc3
Component: Code » Compatibility with other modules
Assigned: Unassigned » nikunjkagathara
Category: Bug report » Feature request
Issue summary: View changes
Priority: Normal » Major
Status: Closed (fixed) » Fixed

ijiosiojiojiojiosjkcjioasc

oijkjisjisnucoiscjkjiocjiosci

sajkjskjkjucuiasncjsiucjksck

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.