When disabling FCKEditor on an an element the resizable class gets left off the textarea element.

Confirmed on FF and IE7, with FCKEditor 2.5.1 and Module version 5.x-2.0-beta

With FCKEditor Module enabled:
<textarea cols="20" rows="10" name="content[top][0][configuration][body]" id="edit-content-top-0-configuration-body" class="form-textarea">

With FCKEditor Module disabled:
<textarea cols="20" rows="10" name="content[top][0][configuration][body]" id="edit-content-top-0-configuration-body" class="form-textarea resizable">

Please see attached image.

CommentFileSizeAuthor
Edit-panels-FCK-issue.png10.46 KBrealityloop

Comments

wwalc’s picture

The resizable class is disabled by the FCKeditor module intentionally, in modules/fckeditor/fckeditor.module:

$element['#resizable'] = FALSE;

It has been disabled in previous versions of FCKeditor module so I left it as it is.
If resizeable is enabled, error 0x800a025e in IE6 is thrown when switching to FCKeditor from text mode... I'll try to investigate it further.

realityloop’s picture

that would be much appreciated. is there a way for me to re-enable it manually for now?

Jorrit’s picture

Title: resizable class missing when FCKeditor excluded on element. » FKCeditor removes the resizable class on textareas
Status: Active » Fixed

Fixed in CVS: FCKeditor now does not remove the resize class

realityloop’s picture

Is there a fix for the Drupal 5 version, it looks to only be fixed in the 6 version?

Sun Aug 10 23:17:03 2008 UTC (23 hours, 26 minutes ago) by jorrit
Branch: DRUPAL-6--2
Changes since 1.20.2.34.2.16: +30 -36 lines
Diff to previous 1.20.2.34.2.16 , to branch point 1.20.2.34

* Improved loading mechanism, thereby fixing
* #273752: FCKeditor malfunctions when multiple fields are present and one of them has a teaser
* #210065: FKCeditor removes the resizable class on textareas
* #212054: Plain text editor shows unformatted text

Jorrit’s picture

It is quite a lot of work to backport it to Drupal 5. Our main development goes toward Drupal 6, after we are done, perhaps the changes will be backported. If you want to make sure you will receive the best FCKeditor module available, consider finding out if you can upgrade to Drupal 6.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Version: 5.x-2.0-beta » 6.x-1.4
Status: Closed (fixed) » Active

How is this bug looking now? I'm using 6.x-1,4 version and it reallyn sux to have textarea without resizing. Any progress on this? I tried to set #resizable to TRUE in .module but it's not working(the drawbar is shown, but it's doing nothing).

Jorrit’s picture

Status: Active » Closed (fixed)

This is a really old issue, and as far as I know you can resize normal textareas perfectly, even when they are also replaced by FCKeditor. Otherwise, try version 2 of the module.

Anonymous’s picture

Version: 6.x-1.4 » 6.x-2.0-rc1
Status: Closed (fixed) » Active

I updated to v2, tried Opera, FF but still can't resize.

Tarsjusz’s picture

subscribing,

I've simply commented one line in fckeditor module:

    if ($conf["popup"]=="f") {
//      $element['#resizable'] = FALSE; // PS
    }

and it works. I don't see any side effects by now..

Jorrit’s picture

Status: Active » Closed (fixed)

The code you posted is from version 6.x-1.4. The problem has been fixed in 6.x-2.x.

adamtyoung’s picture

This problem has popped up again. I am using 6.x-2.x and the resizeable handle disappears as soon as the editor kicks in.