Ticket #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: |
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
Change History
comment:1 Changed 4 years ago by garry.yao
- Keywords Confirmed added
- Owner set to garry.yao
- Status changed from new to assigned
comment:2 Changed 4 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:
- Is there any clue to resolve this?
- Can we workaround it by adapting the way proposed by #3707?
comment:3 Changed 4 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.
