Opened 13 years ago

Last modified 13 years ago

#7556 confirmed Bug

IE adds empty paragraph after pasted paragraph(s)

Reported by: ms428 Owned by:
Priority: Normal Milestone:
Component: General Version: 3.1
Keywords: Cc:

Description

Steps to simulate:

  1. Prepare 2 paragraphs, e.g.:
    <p>
    	a</p>
    <p>
    	b</p>
    
  2. Copy a paragraph (or more paragraphs) from some site into the clipboard. Note that if copying just 1 paragraph, the copied HTML must include <p> and </p> tags. If in doubt, use e.g. this, triple click on a paragraph and copy.
  3. Put the cursor at the end of the 1st paragraph in the editor.
  4. Do the paste.

Expected result:

Only the copied text should be added to the document.

Actual result:

The copied text is added to the document and is followed by another (empty) paragraph. When switched to the source code, the additional paragraph contains &nbsp;.

Tested on:

Windows 7, 64-bit, IE9

Additional notes:

  • bug happens only when pasting to the end of a paragraph (this includes pasting into empty paragraphs) and it doesn't happen when pasting to the end of the document
  • other browsers (FF, Chrome, Opera) don't add the empty paragraph when pasting

Change History (1)

comment:1 Changed 13 years ago by Jakub Ś

Status: newconfirmed
Version: 3.5.33.1

Has happened for IE9 and IE8 from CKEditor version 3.1

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