* Feature/cleanup: Restructure plugins QuickTag, TableOperations, UserElements
* Feature/cleanup: Move colors, fonts, text direction, word cleaning and lists to extensions/plugins.
+ * Feature #3633: Individual height of inline RTE. Thanks to Ralf Hettinger.
2008-01-28 Kasper Sk\8crh¿j <kasper2008@typo3.com>
* Feature/cleanup: Restructure plugins QuickTag, TableOperations, UserElements
* Feature/cleanup: Move colors, fonts, text direction, word cleaning and lists to extensions/plugins.
+ * Feature #3633: Individual height of inline RTE. Thanks to Ralf Hettinger.
2008-01-26 Stanislas Rolland <stanislas.rolland@fructifor.ca>
$RTEWidth = $RTEWidth + ($this->TCEform->docLarge ? (isset($BE_USER->userTS['options.']['RTELargeWidthIncrement']) ? $BE_USER->userTS['options.']['RTELargeWidthIncrement'] : '150') : 0);
$RTEWidth -= ($inline->getStructureDepth() > 0 ? ($inline->getStructureDepth()+1)*$inline->getLevelMargin() : 0);
$RTEHeight = $RTEHeight + ($this->TCEform->docLarge ? (isset($BE_USER->userTS['options.']['RTELargeHeightIncrement']) ? $BE_USER->userTS['options.']['RTELargeHeightIncrement'] : 0) : 0);
+ $RTEHeightOverride = intval($this->thisConfig['RTEHeightOverride']);
+ $RTEHeight = ($RTEHeightOverride > 0) ? $RTEHeightOverride : $RTEHeight;
$editorWrapWidth = $RTEWidth . 'px';
$editorWrapHeight = $RTEHeight . 'px';
$this->RTEdivStyle = 'position:relative; left:0px; top:0px; height:' . $RTEHeight . 'px; width:'.$RTEWidth.'px; border: 1px solid black; padding: 2px 0px 2px 2px;';
$RTEWidth = 460+($this->TCEform->docLarge ? 150 : 0);
$RTEHeight = 380;
+ $RTEHeightOverride = intval($this->thisConfig['RTEHeightOverride']);
+ $RTEHeight = ($RTEHeightOverride > 0) ? $RTEHeightOverride : $RTEHeight;
$editorWrapWidth = $RTEWidth . 'px';
$editorWrapHeight = $RTEHeight . 'px';
$this->RTEWrapStyle = $this->RTEWrapStyle ? $this->RTEWrapStyle : ($this->RTEdivStyle ? $this->RTEdivStyle : ('height:' . ($RTEHeight+2) . 'px; width:'. ($RTEWidth+2) . 'px;'));