[TYPO3-core] RFC: #10987: Allow override width of textarea in TCEforms

Susanne Moog typo3 at susannemoog.de
Sun May 17 21:03:46 CEST 2009


Hi,

Steffen Kamper schrieb:
> Hi,
> 
> This is SVN patch request.
> 
> Type: Bugfix
> 
> Branches: trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=10987
> 
> Problem:
> The width of textarea is written as inline style and calculated with
> cols and char size.
> Often this is not comfortable to edit large data, best example is TV
> records containing large xml data.
> 
> Solution:
> The patch allows to set a value in userTS for a fixed width for all
> textareas:
> options.textareaWidth = 800
> 
> which is used instead.
> 
> vg Steffen
> 

It's nice that the width of the textareas is now configurable, so +1 for
that by reading and testing, but I've got some further thoughts:

- it would be nice, if it's possible to set this on a per field base and
not generally for all text areas
- the height is afaik fixed too, so perhaps we should make another
option for changing the height
- in the user settings module we have that "max title length" setting,
what I think is a related setting, we should think about making it a
userTS option, too. I don't really like having options with similarities
in different places - what do you think?
- as a future vision: using chrome it's possible to resize the text
areas with simply dragging them - perhaps we can have something like
that based on JS for all browsers?

Regards,

Susanne


-- 
Susanne Moog
NEUSTA GmbH - www.neusta.de


More information about the TYPO3-team-core mailing list