Opened 6 years ago

Closed 5 years ago

#10677 closed Bug (wontfix)

IE9: CKEditor 3.6.6: Delay in the cursor postion setting after the text is pasted in the ENTER_BR mode

Reported by: WebSpellChecker.net Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2.1
Keywords: IE9 Cc:

Description

Steps:

  1. Open CKEditor 3 with CKEDITOR.ENTER_BR mode in IE 9
  2. Run the following code in console to view the focus offset: setInterval(function() {console.log(window.document.getElementById('cke_contents_[your_control_ID]').childNodes[1].contentWindow.getSelection().anchorOffset);}, 200)
  3. Type sample text: 'This is a sample text.'
  4. Copy 'This'
  5. Press Enter

    The offset equals 2

  6. Paste 'This'

Expected result: Offset shows 4 immediatly with any delays.

Actual result: Offset shows 2 couple of seconds. Offset is 4 after the delay.

Change History (1)

comment:1 Changed 5 years ago by Jakub Ś

Keywords: IE9 added
Resolution: wontfix
Status: newclosed
Version: 3.6.6 (SVN - trunk)3.2.1

I have been able to reproduce this issue from CKEditor 3.2.1 (this is where I could see first delay) in IE9: TC is the same but I needed to have text in editor before running script below:

Ver. 3.2.1
window.setInterval(function() {console.log(window.document.getElementById('cke_contents_editor1').childNodes[0].contentWindow.getSelection().anchorOffset);}, 200);

Anyway this is TC for CKE 3.x thus I'm marking it as won't fix. I have however reported similar issue for CKEditor 4.x.

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