Opened 9 years ago

Last modified 9 years ago

#14414 confirmed Bug

List created incorectly when — at Initial Version

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

Steps to reproduce

  1. Clear editor contents and paste following code in source mode
    <span style="font-family: arial;">Zeile1<br />
    Zeile2<br />
    Zeile3</span>
    
  2. Switch to wysiwyg, select all 3 lines and click the list button

Expected result

Whether this is enter-mode br or p, there should be a list with one element where content is separated by BRs.

<ul>
<li><span style="font-family: arial;">Zeile1<br />
 Zeile2<br /> 
 Zeile3</span>
</li>
</ul>

Actual result

Instead of one, three elements are created and BRs are now out of place.

<ul>
<ul>
	<li><br />
	<span style="font-family:arial">Zeile1</span></li>
	<li><br />
	<span style="font-family:arial">Zeile2</span></li>
	<li><span style="font-family:arial">Zeile3</span></li>
</ul>

Other details (browser, OS, CKEditor version, installed plugins)

Three elements instead of one can be observed even in CKEditor 3.0.
Extra out of place BR’s can be reproduced from CKEditor 4.5.0

Problem occurs in every browser.

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy