Posted by cayci on September 17, 2010 at 5:12am
7 followers
| Project: | Draft |
| Version: | 6.x-1.8 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | body field, can't save, ckeditor, draft |
Issue Summary
Draft module cant save body field if used with CKEditor - WYSIWYG HTML editor 6.x-1.1
Comments
#1
is there anybody to help
so which HTML editor is the right one for draft module?
#2
I too am facing the same problem.... is this a known bug? is there a workaround?
#3
Not a bug, it is not supported in the module, if someone wants to provide the patch then it can be included. Although yesterday a patch was made that might fix it
#4
I thought CKeditor was supported in this module... this is weird.
I am using dev version, and my ckeditor body fields aren't saved as well....
"
The Draft Module provides support for the following rich text editors:
FCKEditor
CKEDITOR
TinyMCE
"
#5
Perhaps the author should update the module description until this is working again.
#6
I also need this
#7
I looked through the code for this, and found the problem. The current code is moving the data from the field to ckeditor when saving, and moving the data from ckeditor to the field when repopulating, which is backwards.
Attached is a patch file to correct this issue.
To use the patch:
-Put the diff file in the drafts module folder
-Go to the folder in a terminal
-Enter the command: patch -p0 -i ./fix_drafts_ckeditor.diff
#8
It would appear to me that people have not realised that it says it supports CKEDITOR. Not WYSIWYG
CKEDITOR within WYSIWYG is a completely different kettle of fish to just CKEDITOR standalone.