Opened 10 years ago

Last modified 10 years ago

#6297 closed Bug

Unexpected behavior when toggling bulleted/numbered list with a floating element — at Version 2

Reported by: Pablo Vanwoerkom Owned by:
Priority: Normal Milestone: CKEditor 3.4.3
Component: Core : Lists Version: 3.4
Keywords: IBM Cc: jamcunni@…

Description (last modified by Krzysztof Studnik)

Enter the following in the ckeditor.

<p>
	paragraph 1 with float left image <img src="http://a.cksource.com/c/1/inc/img/logo-ckfinder.gif" style="float: left;" /></p>
<p>
	paragraph 2</p>
<p>
	paragraph 3</p>
  1. Select all text and then hit the bulleted/numbered list button. This will move the image into it's own bullet, separated from paragraph
  2. If you click on a list button again, the image is now in it's own paragraph.
  3. If you click it again, the image will disappear and its atrributes will get moved to the <li> tag and the bullet will just contain a &nbsp;.

This was tested in Firefox 3.5.

Change History (3)

comment:1 Changed 10 years ago by Pablo Vanwoerkom

Version: 3.4

Changed 10 years ago by Krzysztof Studnik

Attachment: krst_18.09.36.png added

comment:2 Changed 10 years ago by Krzysztof Studnik

Component: GeneralCore : Lists
Description: modified (diff)
Keywords: Firefox added; bullets float elements numbered list removed
Status: newconfirmed

Confirmed in CKE3.4.1, Firefox 3.6.10 result of above operations:

<ul>
	<li>
		paragraph 1 with float left image</li>
	<li src="http://a.cksource.com/c/1/inc/img/logo-ckfinder.gif" style="float: left;">
		&nbsp;</li>
	<li>
		&nbsp;</li>
	<li>
		paragraph 2</li>
	<li>
		paragraph 3</li>
</ul>
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy