Ticket #3740 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

[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:

Description

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

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

Change History

comment:1 Changed 5 years ago by garry.yao

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

comment:2 Changed 5 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.
	this.document.$.selection.clear();

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 5 years ago by garry.yao

comment:3 Changed 5 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 5 years ago by martinkou

  • Keywords Review+ added; Review? removed

comment:5 Changed 5 years ago by garry.yao

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

Fixed with [3686].

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