Closed (cannot reproduce)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 May 2011 at 09:07 UTC
Updated:
17 Oct 2012 at 08:39 UTC
Jump to comment: Most recent file
Comments
Comment #2
bryancasler commentedYou have to insert the image into the body. There are other options but I suggest taking a look at http://drupal.org/project/insert
Comment #3
kgc commentedI choose a Image on my Computer and klick on Upload. After the Upload the Entered Bod Content is emty.
Comment #4
kgc commentedComment #5
bryancasler commentedYou'll need to add
<img>to your allowed tags if you're filtering them."admin/config/content/formats/filtered_html"
http://awesomescreenshot.com/0abec93e6
Comment #6
kgc commentedI don't add the Image to the Body Field.
I create a new page. I type in a title and a body text.
Then i choose a Image on my Computer an click on the Upload Button.
When the upload is ready, the content of the Body Field is Emty.
Comment #7
bryancasler commentedTake a look at this http://screencast-o-matic.com/watch/cX11FHFMl
Comment #8
lyricnz commentedThe "body" field is just a bit of text that is part of most nodes. Uploading a file will have no impact on the body, unless you explicitly include it yourself (like some wysiwyg do).
Comment #9
peter panes commentedThis is a major bug and should not be closed.
I'm having the exact same problem as follows:
I type content into the body field (with CK Editor). I then upload an image with my SEPARATE image field. Then the Body field is emptied and i have to type out the content again.
This is happening on all my Drupal 7 sites with image field and CK Editor. I haven't tried it without CK Editor yet.
Comment #10
peter panes commentedSome more info on this problem:
This only happens when creating a new node, if i edit an existing node, remove the image and add a new one in then the content in the body field is not lost.
Also this problem is only happening for me with CKEditor (7.x-1.1) enabled on the body field.
This could be a CKEditor issue but its certainly the completion of an Imagefield upload that triggers it.
Comment #11
oriol_e9g...maybe a javascript interaction with CKEditor?
Can you try using http://drupal.org/project/wysiwyg with CKEditor instead of http://drupal.org/project/ckeditor module?
Comment #12
marcvangendSounds like something is going wrong when CKeditor is detaching from the text area. Most likely a CKeditor issue rather than Drupal core... Maybe it's related to #1270080: ckeditor issue while ajax submit.
Comment #13
bryanhirsch commentedI have tried to replicate this issue with three different set-ups and as far as I can tell, this issue is now resolved. I have tried this with:
- a fresh install of Drupal 7.8
- Drupal 7.8 + CKEditor 7.x-1.3
- Drupal 7.8 + CKEditor 7.x-1.3 + Wysiwyg 7.x-2.1
If you're still experiencing difficulties with CKEditor 7.x-1.1 try upgrading, and I think you'll be all set.
I'm re-assigning this issue to CKEditor. I'm pretty sure this is not actually an issue with core, and this might be helpful for people to see in the CKEditor issue queue.
Comment #14
bryanhirsch commentedComment #14.0
Ed Carlevale commentedUpdated issue summary.
Comment #15
stolzenhain commentedI'm experiencing the exact same issue, too – with WYSIWYG module and _NicEdit_, so just to confirm that this is obviously not a CKEditor problem.Edit: Okay, so this is obviously no standard behaviour, but even after shutting down most of the modules, including the WYSIWYG editors, fields are still emptied when images are uploaded on saving the node form – still looking for any hints on this.Edit 2: Tracked down the problem to the Filefield Paths Module in combination with a Drupal6->7 update and transliteration. I didn't see any errors, because I had turned them off already. The bug seems to wipe all text fields, I guess I found the corresponding issue.
Comment #15.0
stolzenhain commentedUpdated issue summary.