Opened 13 years ago

Last modified 7 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 Jakub Ś)

Steps to reproduce:

  1. 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>
    
  2. Go to CKEditor sample (any sample)
  3. Clear editor contents using Command+A and Backspace
  4. Paste the demo contents using Command+V
  5. 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


  1. Copy sample list from the attached listTest.doc
  2. Go to CKEditor sample (any sample)
  3. Clear editor contents using Command+A and Backspace
  4. Paste the demo contents using Command+V
  5. 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 Jakub Ś

Version: 3.5.33.0

When reproducing this ticket I have also found #8234

comment:4 Changed 12 years ago by Jakub Ś

Description: modified (diff)
Summary: Paste with CKEditor Full Page mode in Chrome on Mac generates bad HTMLPaste or PaasteFromWord with CKEditor in Webkit and Opera inserts empty paragraphs.

Changed 12 years ago by Jakub Ś

Attachment: listTest.doc added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy