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
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.

AttachmentSize
fckeditor.utils_.js_.patch1.87 KB

#1

wwalc - December 29, 2008 - 10:19

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

neochief - December 31, 2008 - 01:08
Status:needs review» fixed

Yes, works like a charm (you can also replace tabs with double space char for beter code style). Anyway, thanks for fix, Wiktor.

#3

System Message - January 14, 2009 - 01:10
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.