Only the first letter of the title shows.

I changed line 154 of quicktags.module from this:
return theme('form_element', $element['#title'], $html, $element['#description'], $element['#id'], $element['#required'], form_get_error($element));

to this:
return theme('form_element', $element, $html);

and the textfields work as expected.

CommentFileSizeAuthor
#1 quicktags.module.title-fix.patch608 bytestcblack

Comments

tcblack’s picture

Status: Active » Needs review
StatusFileSize
new608 bytes

Needs a proper patch, fortunately this one was easy to make.

tcblack’s picture

Assigned: Unassigned » tcblack

I've also tested the patch and it works as advertised. Let's get some more tests on this one and let me know if anyone experiences any unexpected problems.

I've also marked the following issues as duplicates of this one.

kalin9’s picture

Tried the patch on $Id: quicktags.module,v 1.21 2007/02/03 10:59:25 ber Exp $ downloaded today, seems to be working fine

maulwuff’s picture

works fine for me.

Papayoung’s picture

I Can't patch with my ISP, but I did make the above code substitution in v1.21.4.1 and it now works as expected.

pfaocle’s picture

Version: 5.x-2.x-dev » 5.x-3.x-dev
Status: Needs review » Reviewed & tested by the community

'Applied' manually, but the fix seems to do what it says on the tin.

tcblack’s picture

This is committed and fixed in 5.3

tcblack’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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