Project

General

Profile

Actions

Bug #23551

closed

htmlArea RTE: Problem editing a new list entry in list of items with inline markup

Added by Helmut Hummel over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-09-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Stanislas Rolland over 13 years ago

What version of TYPO3?

Actions #2

Updated by Helmut Hummel over 13 years ago

It's TYPO3 Version 4.4.2

Actions #3

Updated by Stanislas Rolland over 13 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.

Actions #4

Updated by Stanislas Rolland over 13 years ago

Committed to SVN TYPO3core trunk (revision 8910), branch TYPO3_4-4 (revision 8911) and branch TYPO3_4-3 (revision 8912).

Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF