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

darren.ferguson - September 19, 2008 - 20:26
Status:active» needs review

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.

AttachmentSize
autosave.js_.patch 6.15 KB
autosave.module.patch 1.73 KB

#2

flexer - October 8, 2008 - 16:49

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()

AttachmentSize
autosave_001.patch 4.19 KB

#3

noelbush - January 26, 2009 - 10:11

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

designtist - January 29, 2009 - 19:17

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

pvhee - March 30, 2009 - 17:10

subscribing

 
 

Drupal is a registered trademark of Dries Buytaert.