Opened 13 years ago
Last modified 8 years ago
#8231 closed Bug
Paste or PaasteFromWord with CKEditor in Webkit and Opera inserts empty paragraphs. — at Version 4
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
Paragraph at the bottom has been reproducible in Opera and Safari from CKE 3.5.4 rev [6698]
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.
Change History (3)
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 |
---|
When reproducing this ticket I have also found #8234