Opened 13 years ago
Closed 12 years ago
#8883 closed Bug (fixed)
Firefox: Dragging image wrapped in block element leaves empty block elements in content area.
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.6.2 |
Keywords: | Firefox | Cc: |
Description
- Go to http://ckeditor.com/demo
- Drag image 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> <h1>Little Red Riding Hood</h1>
Code didn't cause much trouble except for the first two drags. First one leaves empty div at the top and second one (Let's say picture was dragged here in the first try rescue and cuts the w^olf
)and the second one leaves empty div inside text. In all other cases picture is dragged without div anymore.
Issue reproducible in Firefox from CKEditor 3.6.2 rev [7242]
Change History (5)
comment:1 Changed 13 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 13 years ago by
Summary: | Firefox: Draggin image wrapped in block element leaves empty bolck elements in content area. → Firefox: Dragging image wrapped in block element leaves empty block elements in content area. |
---|
comment:4 Changed 13 years ago by
This ticket is related to #8884. Same TC, similar results, different versions.
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Seems this issue is no longer reproducible in latest CKEditor 4.1 and latest firefox 20.
Till version 3.6.1 when dragging image placed inside a div it split paragraphs.
Edit:
Which is rather ok because img was wrapped in div and since div can't be placed inside p it split paragraphs in two. Sorry for this comment.
To summarize: Till version 3.6.1 image was dragged with surrounding div