Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#25 | cсk_multifiedls-953210-25.patch | 2.21 KB | mpomytkin |
#13 | handle_cck_multiple_fields-953210-13.patch | 675 bytes | anrikun |
Comments
Comment #1
sludwig CreditAttribution: sludwig commentedThe 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?
Comment #2
camsoft2000 CreditAttribution: camsoft2000 commentedI 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.
Comment #3
amateescu CreditAttribution: amateescu commentedI can confirm this with the latest 6.x version.
Comment #4
estimi CreditAttribution: estimi commentedConfirming issue with latest version 6.x-1.2.
Comment #5
remaye CreditAttribution: remaye commentedSame 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.
Comment #6
Uv516 CreditAttribution: Uv516 commentedIn 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)?
Comment #7
Ludo.RDrag and drop issue has been fixed in latest version (1.7) : http://drupal.org/node/1296804
Issue when clicking "Add another item" still remains.
Comment #8
avner CreditAttribution: avner commentedI 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
Comment #9
yatil CreditAttribution: yatil commentedThat’s still an – very disappointing – issue :-( (It’s an issue with WYSIWYG as well.)
Comment #10
capellicI 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!
Comment #11
mkesicki CreditAttribution: mkesicki commented@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.
Comment #12
capellicI applied this patch to the WYSIWYG module and it's working like a charm.
http://drupal.org/node/1155678#comment-5358290
Comment #13
anrikun CreditAttribution: anrikun commentedHere is a quick fix for this issue.
It should be tested with all kinds of multiple fields to ensure it does not break anything.
Comment #14
Uv516 CreditAttribution: Uv516 commentedI have tried this patch. - Problem is status quo - sorry. Add new field empty prev. field(s).
Comment #15
anrikun CreditAttribution: anrikun commentedHave you flushed *all* your caches after applying (Drupal & Navigator)?
What multiple field do you use? Please provide as much detail as possible.
Comment #16
Uv516 CreditAttribution: Uv516 commentedYes: 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:
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.
Comment #17
anrikun CreditAttribution: anrikun commentedPlease 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)
Comment #18
Uv516 CreditAttribution: Uv516 commentedNow 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:
(Now I write something in the new field)
Comment #19
Uv516 CreditAttribution: Uv516 commentedNow 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".
Comment #20
OlafskiI 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:
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.
Comment #21
mkesicki CreditAttribution: mkesicki commented@Olafski,
thank you for detailed information. We will check this.
Comment #22
avner CreditAttribution: avner commentedsame 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
Comment #23
mpomytkin CreditAttribution: mpomytkin commentedI have very similar issue.
ckeditor module's version: 6.x-1.14
When I want to add a new item, ckeditor disappears on another items without any JS errors in console. I tried to apply various patches, but it didn't give expected result.
Comment #24
mpomytkin CreditAttribution: mpomytkin commentedComment #25
mpomytkin CreditAttribution: mpomytkin commentedI upgraded ckeditor's version to 6.x-1.15 and patched ckedior.utils.js file. Code changes worked for me, requesting for review.