Project

General

Profile

Actions

Bug #15761

closed

rte in frontend: size not properly configurable with typoscript

Added by Rafael Oliver over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2006-03-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.php
Line 277:
// changed to take height of rte into account for wraper div
$item = $this->triggerField($PA['itemFormElName']).'
<div id="pleasewait' . $pObj->RTEcounter . '" class="pleasewait">' . $GLOBALS['TSFE']->csConvObj->conv($GLOBALS['TSFE']->getLLL('Please wait',$this->LOCAL_LANG), $this->charset, $GLOBALS['TSFE']->renderCharset) . '</div>
<div id="editorWrap' . $pObj->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>

(issue imported from #M2760)

Actions

Also available in: Atom PDF