[TYPO3-core] RFC: Bug #15512: htmlArea RTE initialization in flexforms is broken with TYPO3 4.4

Stanislas Rolland typo3 at sjbr.ca
Wed Sep 15 18:13:56 CEST 2010


Attaching a new version of the patch as t3lib_TCEForms also fails to 
register toggling elements as nested elements.

A second test extension is attached to the bugtracker entry 
http://bugs.typo3.org/view.php?id=15512
for this second test case. Thanks to Dirk Eidam.

Regards,
Stanislas


Le 2010-09-15 12:10, Stanislas Rolland a écrit :
> (Corrected issue # in title)
>
> This is an SVN patch request.
>
> Type:
> Bugfix
>
> 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
>
> Branches:
> trunk
> TYPO3_4-4
>
> Regards,
> Stanislas
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo3core_bugfix_15512_v2_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100915/d243b40f/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo3core_bugfix_15512_v2_typo3_4-4.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100915/d243b40f/attachment-0001.asc>


More information about the TYPO3-team-core mailing list