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
Comment | File | Size | Author |
---|---|---|---|
#1 | ckeditor-node_body_size.patch | 417 bytes | nibblebot |
Comments
Comment #1
nibblebot CreditAttribution: nibblebot commentedthis is a bug where ckeditor overrides all node-form body row number declarations.
here is the patch to fix that
Comment #2
Hubert_r CreditAttribution: Hubert_r commentedThanks, that's great!
It fixed the issue perfectly.
Comment #3
Aracon CreditAttribution: Aracon commentedGreat 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.
Comment #4
jcisio CreditAttribution: jcisio commentedThis was reported and fixed in CVS in March ;) #756516: Error in module code