Opened 10 years ago

Last modified 10 years ago

#5381 closed Bug

Cursor in wrong position after pasting content — at Version 1

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: 3.1
Keywords: Confirmed Review+ Cc:

Description (last modified by Wiktor Walc)

Confirmed in IE8. Looks like a IE issue and it looks like it didn't occur before CKEditor 3.1 and probably it has something to do with pasting mixed <div> and <p> tags.

After pasting certain content, cursor is not positioned at the end of text but somewhere in the middle.

Steps to reproduce

  • Open in IE8 http://ckeditor.com/demo and select all text in the CKEditor and clear the contents.
  • Paste the content from example2.html - the cursor will be positioned at the beginning of the second line

(Old steps to reproduce below, the example above is much simpler)

  • Press "New Page" button and paste the content from example1.html - the cursor will be positioned at the beginning of the last paragraph - before "The content of... "
  • Press "New Page" button and paste the content from ckeditor_ie8_pasting_bug.CLP (use clipbrd.exe / ClipBoardViewer to open the file) - the cursor will be positioned at the end of first paragraph (after Gruss, schöne Test, Email)

Change History (5)

Changed 10 years ago by Wiktor Walc

Changed 10 years ago by Wiktor Walc

Attachment: example1.htm added

comment:1 Changed 10 years ago by Wiktor Walc

Description: modified (diff)

Changed 10 years ago by Wiktor Walc

Attachment: example2.htm added

Changed 10 years ago by Garry Yao

Attachment: 5381.patch added
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy