Ticket #8884 (confirmed Bug)

Opened 14 months ago

Last modified 6 weeks ago

Webkit & FF: Dragging image wrapped in Header Element leaves empty headers in content area.

Reported by: j.swiderski Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Webkit Firefox Cc:

Description (last modified by j.swiderski) (diff)

  1. Go to http://ckeditor.com/demo
  2. Drag image in few places inside content area
  3. Switch to source and notice that there are many empty headers inside content area <h1>&nbsp;</h1>

I have also tried using the below code (img inside div)

<div>
	<img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="margin-left: 10px; margin-right: 10px; float: left; width: 120px; height: 168px;" /></div>
<h1>Little Red Riding Hood</h1>

Div is lost on first drag. Wrapping div stays at the top and doesn't break paragraphs like H1.

Issue reproducible in Webkit and Firefox from CKEditor 3.0

Change History

comment:1 Changed 14 months ago by j.swiderski

This ticket is related to #8883. Same TC, similar results, different versions.

comment:2 Changed 14 months ago by j.swiderski

  • Status changed from new to confirmed

comment:3 Changed 11 months ago by j.swiderski

  • Description modified (diff)

comment:4 Changed 6 weeks ago by j.swiderski

In CKEditor 4.1 image is being dragged with h1 all the time. This can be checked in replace by code sample.

On each drag empty h1 is being left behind.

Last edited 6 weeks ago by j.swiderski (previous) (diff)

comment:5 Changed 6 weeks ago by j.swiderski

  • Keywords Firefox added
  • Description modified (diff)
  • Summary changed from Webkit: Dragging image wrapped in block element leaves empty block elements in content area. to Webkit & FF: Dragging image wrapped in Header Element leaves empty headers in content area.

comment:6 Changed 6 weeks ago by j.swiderski

#1696 was marked as duplicate.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy