When used in combination with the WYSIWYG Module and the TinyMCE editor changes to the body field are not detected when the editor is enabled. I think this is because WYSIWYG editors create an iFrame in designMode, which means it's editable, but changes to this frame are only written to the corresponding textarea on certain events, in this case I think the submission of the form triggers the writing... so maybe there's a way to trigger this behavior before we check for changes to the form.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | saveguard-ckeditor_support-700398.patch | 1.67 KB | janchojnacki |
Comments
Comment #1
aren cambre commentedSubscribe. Moving as 7.x feature request as per Drupal convention.
Comment #2
janchojnacki commentedI have managed to get it work for CKEditor coming from WYSIWYG module
Steps:
1. Download Onchange plugin for CKEditor - http://martinezdelizarrondo.com/fckplugins/onchange1.3.zip
2. Upload onchage folder to your custom module folder and insert a code there:
3. Enable 'onchange' plugin in WYSIWYG settings
4. Apply patch for Saveguard
Please note that I have added node edit form condition to the patch. So, if it's not needed for you - remove that part.
Hope it will be useful for module feature development
Comment #3
pwolanin commentedSee also: #2077525: Support for CKEditor module
Comment #4
geek-merlinSo i'd propose to work on the other issue from #3.