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

Stanislas Rolland typo3 at sjbr.ca
Fri Sep 24 19:13:09 CEST 2010


REMINDER #4

This patch needs a code reader's review.

Stanislas



Le 2010-09-15 12:13, Stanislas Rolland a écrit :
> 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
>>
>




More information about the TYPO3-team-core mailing list