[TYPO3-core] FYI: Fixed bug #15730: htmlArea RTE: Problem editing a new list entry in list of items with inline markup

Stanislas Rolland typo3 at sjbr.ca
Tue Sep 28 09:28:56 CEST 2010


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:

Given the following unnumbered list:

<ul>
<li><span class="detail">one</span></li>
<li><span class="detail">two</span></li>
<li><span class="important">three</span></li>
<li><span class="name-of-person">four</span></li>
<li><span class="detail">five</span></li>
</ul>

Place the cursor behind "two" and press enter.
A new list entry appears, but the cursor is in the line below (before 
"three"). If you click on the new list entry, the cursor is on the right 
border, but you cannot enter something.

If you now switch to source view and back again to WYSIWYG view, you can 
put the cursor in the new line and enter a text.

Solution:
Walk inside any nested inline elements in order to set the cursor 
position correctly. Fix also misbaviour in similar list when pressing 
enter into the last and empty entry (should get out of list and insert 
paragraph).

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

Branches:
trunk (revision 8910)
TYPO3_4-4 (revision 8911)
TYPO3_4-3 (revision 8912)

Regards,
Stanislas


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_15730_trunk.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100928/d8be1bd7/attachment.txt>


More information about the TYPO3-team-core mailing list