doFCKeditorSave() in FCKeditor 5.x
neochief - December 24, 2008 - 21:13
| Project: | FCKeditor - WYSIWYG HTML editor |
| Version: | 5.x-2.2-rc6 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hello
I'm maintainer of AJAX comments. I have a bug in my issue queue related to FCKeditor. In few words, it can be resolved by calling doFCKeditorSave() in FCK 6.x or FCKeditor_OnAfterLinkedFieldUpdate() in FCK 6.x-2, but nwither of those functions are present in 5.x branch of your module. I've tried to add doFCKeditorSave() to 5.x manually and everything works fine. I'm not sure, if there is something other need to be added with this functions, you should know better, but at least, it works now.
Attaching my patch to fckeditor.utils.js here.
| Attachment | Size |
|---|---|
| fckeditor.utils_.js_.patch | 1.87 KB |

#1
I had some problems with understanding the first three comments here: #349426: Doesn't work with FCKeditor :-)
Actually the doFCKeditorSave() function may be simpler in the 5.x version of the FCKeditor module.
I have refactored the code a bit in CVS, let me know is it working for you as expected:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/fckeditor/f...
(should be available as a dev release in 2 hours).
#2
Yes, works like a charm (you can also replace tabs with double space char for beter code style). Anyway, thanks for fix, Wiktor.
#3
Automatically closed -- issue fixed for two weeks with no activity.