[TYPO3-core] FYI: Fixed bug #14464: htmlArea RTE: Type of block accumulation if the block is manually selected in Safari

Stanislas Rolland typo3 at sjbr.ca
Sat Jun 19 16:50:57 CEST 2010


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
When the cursor is positioned inside a paragraph or heading, and a type 
of block is selected in the block formating dropdown selector, the type 
of block is correctly modified.

However, in Safari, if the text of the block is highlighted with the use 
of the mouse, there is sometimes a problem. If the markup is
<h3>the text</h3>
and the author highlights the text with the mouse and selects h2 in the 
dropdown selector, then the resulting markup becomes:
<h2>the text</h2><h3></h3>

Solution:
Normalizing the document body before performing the execCommand seems to 
workaround this Safari mouse gesture bug.

Bugtracker references:
http://bugs.typo3.org/view.php?id=14464

Branches:
trunk (revision 7966)
TYPO3_4-3 (revision 7967)
TYPO3_4-2 (revsion 7968)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_14464_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100619/b4c79f99/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_14464_typo3_4-3.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100619/b4c79f99/attachment.txt>


More information about the TYPO3-team-core mailing list