When I have the FCKEditor module enabled, I find that some TEXTAREA fields get resized (i.e., made narrower), making those fields much harder to use. An example is the Body field on the Advanced Front Page Settings module settings page.

Comments

wwalc’s picture

Status: Active » Postponed (maintainer needs more info)

I know this is an old issue, but I can't repoduce this behaviour using the latest version of FCKeditor and both modules.
Please provide me some more information on this if you are still having problems with it.
You can use Firefox + Firebug to find potential javascript errors when they occur.

Macronomicus’s picture

I am having a similar issue.
The only difference being that the fields which are being shortened are the fields which I place in my Profile Visibility settings with the "Exclude" rule. Those fields are indeed rendered without the fck toolbar however they are shrunken some - and striping out some of my markup; mainly my resizable-textarea stuff.
The output has been changed to:

<div class="form-item">
 <label for="edit-field-resort-teaser-0-value">Resort Teaser: <span title="This field is required." class="form-required">*</span></label>
 <textarea class="form-textarea required" id="edit-field-resort-teaser-0-value" name="field_resort_teaser[0][value]" rows="4" cols="60"/>
 <div class="description">Please Describe the resort in three sentences or less.  This is the text which will display on some of the search results.</div>
</div>

When without FCK Installed it displays this:

<div class="form-item">
 <label for="edit-field-resort-teaser-0-value">Resort Teaser: <span title="This field is required." class="form-required">*</span></label>
 <div class="resizable-textarea"><span><textarea class="form-textarea resizable required processed" id="edit-field-resort-teaser-0-value" name="field_resort_teaser[0][value]" rows="4" cols="60"/><div class="grippie" style="margin-right: -4px;"/></span></div>
 <div class="description">Please Describe the resort in three sentences or less.  This is the text which will display on some of the search results.</div>
</div>

Why is it striping out some of the markup even though its set to ignore this field?
<--------------------------------->
Drupal 5.5
module version 5.x-2.1-beta2
FCKeditor 2.5.1
<--------------------------------->

wwalc’s picture

macrocosm:
Open the modules/fckeditor/fckeditor.module file

Move that piece of code

  // Set resizable to false to avoid drupal.js resizable function from taking control of the textarea
  if ($conf["popup"]=="f") {
    $element['#resizable'] = FALSE;
  }

below

if (($element['#rows'] > $conf['min_rows']) && $enabled) {

That should solve the problem with resizable stuff.
Let me know if that solved your problem.

Macronomicus’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for the tip ... that fixed it.
^_^

Anonymous’s picture

Status: Fixed » Closed (fixed)

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