#15761rte in frontend: size not properly configurable with typoscript
Description
I can configure the size of the rte with typoscript with something like this:
RTEdivStyle_news = width: 430px; height: 250px;
However, this only changes the size of the rte area but not of the editorWrap div that’s around the rte which is hardcoded in pi2/class.tx_rtehtmlare_p12.php.
See “Additional Information” for a solution (at least it works for me)
typo3/sysext/rtehtmlarea/pi2/class.tx_rtehtmlare_p12.phpLine 277:
// changed to take height of rte into account for wraper div
$item = $this->triggerField($PA[‘itemFormElName’]).‘
RTEcounter . ‘” class=“editorWrap” style=“visibility:’ . $visibility . ‘; ‘.$this->RTEdivStyle.’”>
<textarea id="RTEarea'.$pObj->RTEcounter.’” name=”’.htmlspecialchars($PA[‘itemFormElName’]).’” style=”’.htmlspecialchars($this->RTEdivStyle).’”>’.t3lib_div::formatForTextarea($value).’</textarea> <p>(issue imported from #M2760)</p>"></textarea>
<textarea id="RTEarea'.$pObj->RTEcounter.’” name=”’.htmlspecialchars($PA[‘itemFormElName’]).’” style=”’.htmlspecialchars($this->RTEdivStyle).’”>’.t3lib_div::formatForTextarea($value).’</textarea> <p>(issue imported from #M2760)</p>"></textarea>
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.