FCKEditor support for D6
Viybel - September 17, 2008 - 11:06
| Project: | Autosave |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Has anyone ported this patch?
#100335: FCKEditor Support
Vianney Stroebel
Likwid - Spécialistes Drupal - Paris

#1
The attached patch supports the FCKEditor functionality for the autosave module in D6.
The patch also includes the elements to ignore in form hash portion per http://drupal.org/node/308239 and they all seem to work well. Please test and let me know if any bugs are in these features.
Patches are against the autosave-6.x-1.1.tar.gz branch.
#2
Hi,
I'll attach my patch that add this functionality, maybe merging the two could be better :)
I've done some little improvements to the js too, because it defines a lot of global variables (those which I added the "var" in front) and uses an obsolete form for the first parameter of setTimeout()
#3
The patch provided by flexer has an error -- it adds "var" before pos on line 84, causing the script to be unable to run.
Otherwise, though, I want to report that the patch applies to the 5.x-3.2 release just fine, and fixes the problem with FCKeditor. It is not necessary to apply the patch to the module file from comment #1 (and I am not sure why that was included here to begin with).
I also want to note that the current 5.x-3.x-dev release, as well as the 5.3 branch in Drupal, breaks compatibility with Drupal 5.
#4
noelbush, can you clarify your comment -- which patch applies to the 5.x-3.2 release? The one in comment #1 or the one in comment #2? If #2, doI have to remove "var" on line 84 to make it work?
thanks!
#5
subscribing