Opened 8 years ago

Closed 8 years ago

#3740 closed Bug (fixed)

[IE] Paste from Word does not paste on last cursor location

Reported by: damo Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Confirmed IBM Review+ Cc:


When using Paste from Word, the result is pasted at the beginning of the document instead of where the cursor was when the dialog was invoked.

Works as expected in FF.

Attachments (1)

3740.patch (967 bytes) - added by garry.yao 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by garry.yao

  • Keywords Confirmed added
  • Owner set to garry.yao
  • Status changed from new to assigned

comment:2 Changed 8 years ago by garry.yao

  • Keywords Discussion added

After some investigation, the bug is quite obscure, I think it's because of CKEDITOR.dom.range::select on a collapsed range, the native selection is lost after this statement:

	// Remove our temporary stuff.

Because I can make it works without it by manually remove the nodes inside, but the cursor doesn't blink.
Here I'll be asking for discussion:

  1. Is there any clue to resolve this?
  2. Can we workaround it by adapting the way proposed by #3707?

Changed 8 years ago by garry.yao

comment:3 Changed 8 years ago by garry.yao

  • Keywords Review? added; Discussion removed

Martin's revealed the reason behind this bug to me that dear 'contentEditable' has been turned off during the dialog life cycle for good of JAWS visual cursor mode, so the workaround could be let the insertion happened right after the closing.

comment:4 Changed 8 years ago by martinkou

  • Keywords Review+ added; Review? removed

comment:5 Changed 8 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [3686].

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