#8231 closed Bug (fixed)
Paste or PaasteFromWord with CKEditor in Webkit and Opera inserts empty paragraphs.
Reported by: | spgard | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.6.0 |
Component: | Plugin : Paste from Word | Version: | 3.0 |
Keywords: | Cc: |
Description (last modified by )
Steps to reproduce:
- Copy the below code taken from http://ckeditor.com/demo
<h1> <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;" />Little Red Riding Hood</h1>
- Go to CKEditor sample (any sample)
- Clear editor contents using Command+A and Backspace
- Paste the demo contents using Command+V
- Switch to source
Result:In full page mode there will be extra empty paragraph right after body tag and from CKEditor 3.5.4 rev [6698] there will also be extra empty paragraph right before closing body tag. In any non full page sample you will see empty paragraph at the top and form CKE 3.5.4 also at the bottom
- Copy sample list from the attached listTest.doc
- Go to CKEditor sample (any sample)
- Clear editor contents using Command+A and Backspace
- Paste the demo contents using Command+V
- Switch to source
Result:You will see empty paragraph at the top and form CKE 3.5.4 also at the bottom
Paragraph at the top has been reproducible in Opera and Webkit from CKEditor 3.0 In Opera 11.62 it is not possible to copy contents from one editor into another so the problem is only reproducible in Webkit. Further more - problem with paragraph at top is because of bug #6131, that is why this ticket should only concern removing paragraphs at the bottom
Paragraph at the bottom has been reproducible in Opera and Safari from CKE 3.5.4 rev [6698] In Opera 11.62 it is not possible to copy contents from one editor into another so the problem is only reproducible in Safari.
This issue is reproducible in all Operating Systems.
NOTE: From CKEditor 3.5.3 if you press backspace two or more times (Look step 3) it is possible to delete the default paragraph. If you do that and then paste the text from demo the paragraph at the top will not be present.
Attachments (1)
Change History (10)
comment:2 Changed 13 years ago by
Version: | 3.5.3 → 3.0 |
---|
comment:4 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Summary: | Paste with CKEditor Full Page mode in Chrome on Mac generates bad HTML → Paste or PaasteFromWord with CKEditor in Webkit and Opera inserts empty paragraphs. |
Changed 13 years ago by
Attachment: | listTest.doc added |
---|
comment:5 Changed 13 years ago by
Paragraph at the top when pasting from Word in Webkit was described in #7383.
comment:6 Changed 13 years ago by
Status: | new → confirmed |
---|
comment:7 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:8 Changed 12 years ago by
comment:9 Changed 11 years ago by
Component: | General → Plugin : Paste from Word |
---|
comment:10 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Did not record any additional paragraphs. This must have been resolved a while ago.
comment:11 Changed 8 years ago by
Milestone: | → CKEditor 4.6.0 |
---|
When reproducing this ticket I have also found #8234