[TYPO3-core] RFC: Bug #15355: htmlArea RTE initialization in flexforms is broken with TYPO3 4.4
Christian Kuhn
lolli at schwarzbu.ch
Tue Aug 24 16:57:16 CEST 2010
On 08/24/2010 04:22 AM, Stanislas Rolland wrote:
> Problem:
> The initialization of htmlArea RTE fields within flexforms is broken
> when the fields are on a flexform tab that is hidden at the time of
> loading.
>
> Solution:
> The RTE needs to know the nested structure of tabs and inline elements
> in which it resides.
>
> If a parent or ancestor object has the style "display: none",
> offsetWidth & offsetHeight are '0'. Therefore many sizing operations are
> wrong if the RTE is loaded in a hidden tab or inline element.
>
> The RTE uses t3lb_tceForms::getDynNestedStack to get this structure.
> However, the flexform tabs are not registered into the DynNestedStack.
> The attached patch fixes this issue.
>
> How to reproduce:
> Thanks to Christian Kuhn, a test extension that allows to reproduce the
> issue may be found on the bugtracker issue.
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=15512
Many thanks for your quick solution.
+1 on testing (trunk + 4.4).
No reading review from me, my competence to concentrate is limited,
can't trust my decisions currently.
Thanks
Christian
More information about the TYPO3-team-core
mailing list