[TYPO3-core] RFC: Bug #15355: htmlArea RTE initialization in flexforms is broken with TYPO3 4.4
Stanislas Rolland
typo3 at sjbr.ca
Tue Aug 24 04:22:18 CEST 2010
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_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100823/3506a82b/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typo3core_bugfix_15512_typo3_4-4.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100823/3506a82b/attachment.asc>
More information about the TYPO3-team-core
mailing list