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

Benjamin Mack benni at typo3.org
Sat Jun 27 16:25:57 CEST 2009


Hey Steffen,

attached is a new patch that allows "width" and "height" like this:

$TCA['pages']['columns']['TSconfig']['config']['width'] = 500;
$TCA['pages']['columns']['TSconfig']['config']['height'] = '20em';

It will override any previous settings (with cols and rows) and add 
these values as parameters in the style="" attribute of the textarea.

Additionally I removed the option to not use the rows="" property in 
Netscape versions, as
a) netscape 4 or whatever is not supported anymore
b) the W3C HTML standard wants to have rows="" and cols="" to be set at 
any time.

Of course, we need some documentation for this. I will take care of it 
once I'm ready to commit.

All the best,
Benni.


More information about the TYPO3-team-core mailing list