Opened 14 years ago
Last modified 14 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:
- Prepare 2 paragraphs, e.g.:
<p> a</p> <p> b</p>
- 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.
- Put the cursor at the end of the 1st paragraph in the editor.
- 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 .
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
Has happened for IE9 and IE8 from CKEditor version 3.1