Opened 5 years ago

Last modified 4 years ago

#8884 confirmed Bug

Dragging image wrapped in BlockElement leaves empty block elements in content area.

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

Description (last modified by Jakub Ś)

  1. Go to http://ckeditor.com/demo
  2. Drag image (which is wrapped in H1) 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>
  • In Chrome div completely is lost.
  • In Safari and Opera Div is lost on first drag. Wrapping div stays at the top and doesn't break paragraphs like H1.
  • in Firefox and IE8-10 orphan divs are left throughout content area

Issue reproducible in all browsers from CKEditor 3.0

Change History (7)

comment:1 Changed 5 years ago by Jakub Ś

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

comment:2 Changed 5 years ago by Jakub Ś

Status: newconfirmed

comment:3 Changed 5 years ago by Jakub Ś

Description: modified (diff)

comment:4 Changed 4 years ago by Jakub Ś

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 4 years ago by Jakub Ś (previous) (diff)

comment:5 Changed 4 years ago by Jakub Ś

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

comment:6 Changed 4 years ago by Jakub Ś

#1696 was marked as duplicate.

comment:7 Changed 4 years ago by Jakub Ś

Description: modified (diff)
Keywords: Webkit Firefox removed
Summary: Webkit & FF: Dragging image wrapped in Header Element leaves empty headers in content area.Dragging image wrapped in BlockElement leaves empty block elements in content area.
Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy