[TYPO3-dev] define the height of RTE in a flexform

Fabien Udriot fudriot at omic.ch
Wed May 30 21:44:20 CEST 2007


Anyway the solution is here too !

the TS to put in the ext_localconf.php :

t3lib_extMgm::addUserTSConfig('
	options.RTESmallHeight = 500
	options.RTESmallWidth = 700
');

Fabien Udriot a écrit :
> Ok, I ask the question again in the rte list...
> 
> Fabien Udriot a écrit :
>> Hi,
>>
>> How can I define the height of the RTE editor in my flexform ? The 
>> default height is "380px" which is not enough for me. Is there some 
>> magic Typoscript ?
>>
>>
>> On line 00204, it seems the height is hardcoded :
>> http://typo3.org/fileadmin/typo3api-4.0.0/dd/dd3/class_8tx__rtehtmlarea__pi2_8php-source.html 
>>
>>
>>
>> here is the html that wrap the RTE editor :
>>
>> <div id="editorWrap1" class="editorWrap" style="width:530px; 
>> height:380px;">
>>
>>    <textarea id="RTEarea1" 
>> name="data[tt_content][46][pi_flexform][data][sContent][lDEF][text][vDEF]" 
>> style="position:relative; left:0px; top:0px; height:380px; 
>> width:530px; border: 1px solid black; padding: 2px 0px 2px 2px;">
>>
>>    </textarea>
>>
>> </div>




More information about the TYPO3-dev mailing list