Hi there,

First of all, thank you for this great module. I'm using it on all our Drupal sites and it works wonders!

Today I was trying to adjust the height of some textareas on a page, and noticed that all the "rows" attributes were set to 5, whereas I had actually set them to 15 with CCK.

I tried the following:

- fresh install of Drupal 6.17
- CCK 6.x-2.7

I added a textarea field to the "page" content type, and set the number of rows to 15.
Then I tried to create a new "page" node. The textarea had the correct rows attribute ()

Then I enabled CKeditor 6.x-1.1
I did not apply it to the CCK textarea, I just enabled the module.

This time, when I tried to create or edit a "page" node, the textarea had "rows" set to 5.

When I disabled CKeditor, it came back to 15.

So, for some reason, it seems that CKeditor is resetting all textarea "rows" to 5

CommentFileSizeAuthor
#1 ckeditor-node_body_size.patch417 bytesnibblebot
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nibblebot’s picture

Status: Active » Needs review
FileSize
417 bytes

this is a bug where ckeditor overrides all node-form body row number declarations.
here is the patch to fix that

Hubert_r’s picture

Thanks, that's great!
It fixed the issue perfectly.

Aracon’s picture

Great patch!
Had a similar problem: '#rows' parameter had no effect on textarea, it was 5 lines height (I am writing a module and thought at first that it's my bug). After patching all is OK. Patch is very simple and just fixes a typo in code.

jcisio’s picture

Status: Needs review » Closed (duplicate)

This was reported and fixed in CVS in March ;) #756516: Error in module code