Opened 13 years ago
Last modified 11 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 )
- Go to http://ckeditor.com/demo
- Drag image (which is wrapped in H1) in few places inside content area
- Switch to source and notice that there are many empty headers inside content area
<h1> </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 13 years ago by
comment:2 Changed 13 years ago by
Status: | new → confirmed |
---|
comment:3 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 12 years ago by
In CKEditor 4.1 image is being dragged with h1 all the time. This can be checked in replace by code sample.
comment:5 Changed 12 years ago by
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:7 Changed 11 years ago by
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. |
This ticket is related to #8883. Same TC, similar results, different versions.