Project

General

Profile

Actions

Bug #19566

closed

p after (un)ordered list causes inconsistent markup when using the list buttons to get out of the list

Added by Uschi Renziehausen about 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-11-04
Due date:
% Done:

0%

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

Description

There are several ways to get out of an (un)ordered list. When you are in the last item of your list,
Way 1: press enter two times (first enter creates a new empty list item, second enter gets you out of the list)
Way 2: use button insertParagraphAfter or the equivalent in the context menu.
Way 3: press enter once and then klick the ul/ol button.

Way 3 causes a problem when you want to enter more than one paragraph after your list. The whole text before the last paragraph will be wrapped by a p.

<p>
<p>sometext</p>
<ol>
<li>item 1</li>
<li>item 1</li>
</ol>
some more text
</p>
<p></p>

The problem seems to be that pressing the list button moves the cursor below the list but does not create a p at the same time (the other two ways do that).

Prosit, Uschi

(issue imported from #M9730)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #22861: htmlArea RTE: Hitting ENTER in absence of block element may produce non-valid html in non-IE browserClosedStanislas Rolland2010-06-10

Actions
Actions

Also available in: Atom PDF