Bug #23551
closedhtmlArea RTE: Problem editing a new list entry in list of items with inline markup
0%
Description
This happens in Firefox 3.6.10 (have not checked other browsers yet)
Steps to reproduce:
Given the following simple unnumbered list (paste this in source view):
[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]
(replaced the < > with [ ])
Now switch back to WYSIWYG view and 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 klick on the new list entry, the cursor is on the right border, but you cannot enter something.
If you now once switch to source view and back again to WYSIWYG view, you can put the cursor in the new line and enter a text.
(issue imported from #M15730)
Files
Updated by Stanislas Rolland about 14 years ago
Need to walk inside any nested elements to set the caret position correctly.
The attached patch fixes the isssue in Firefox, WebKit and Opera.
Updated by Stanislas Rolland about 14 years ago
Committed to SVN TYPO3core trunk (revision 8910), branch TYPO3_4-4 (revision 8911) and branch TYPO3_4-3 (revision 8912).