[TYPO3-RTE] p after (un)ordered list gives problems

Walrick Bosch lists at globalhealingcircle.net
Sat Nov 1 14:19:25 CET 2008


Hello,

I noticed the following problem with htmlarea. Maybe this is a known
issue, but I don't know which search terms to use for this. It's a bit
hard to describe:

I'm typing a text content element. At a certain point I create a list
(numbered or bulleted). When I want to exist the list, I hit enter after
the last li, and click the button for the list to exit the list. At that
point the cursor is back on the left of the textfield. The status bar
says just "Path: body". Now I type some text and then hit enter. This
should (in my opinion) wrap the last bit of text in a p tag, instead the
whole thing is wrapped in a p tag.

So before I hit enter I have this:

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

Now with the cursor after the last bit of text I hit enter. Which
results in:

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

Where I would expect it to produce:

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

Is this a (known) bug? A setting problem? Can anything be done about it?
This is bound to produce problems with editors without html knowledge.

It works ok if I manually add the paragraph block format using the drop
down selector.

Regards,

Walrick

-- 
webmaster Global Healing Circle
www.globalhealingcircle.net


More information about the TYPO3-project-rte mailing list