Opened 12 years ago

Last modified 11 years ago

#9996 confirmed Bug

Selection disappears from last line on getData()

Reported by: tema Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.5
Keywords: Blink Cc:

Description

  1. open http://nightly.ckeditor.com/13-01-28-08-51/standard/samples/plugins/enterkey/enterkey.html
  2. select BR mode
  3. remove all text
  4. type in some text (line 1)
  5. press enter
  6. type in some more text (line 2)
  7. select all text on the second line
  8. open javascript console and run
CKEDITOR.instances.editor1.getData()

Result: selection disappears! Expected: selection to stay where it was.

Interesting that if you select line 1 and run getData(), everything stays normal.

I was able to reproduce it in Chrome. Bug first appeared in 3.6.5, 3.6.4 works fine.

Attachments (1)

2013-01-29_1559.swf (705.9 KB) - added by Jakub Ś 12 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by Piotrek Koszuliński

Status: newpending

WFM on Chrome@Linux and Windows 7.

Can you reproduce this issue on other machine? And if yes describe TC (or upload sample) that doesn't need the JS console?

Last edited 12 years ago by Piotrek Koszuliński (previous) (diff)

comment:2 Changed 12 years ago by tema

I was able to reproduce it on Mac OS.

I don't actually need a console, I need getData(), which fires in setInterval every couple of seconds, so selection is always resetting. I will try it on Windows later.

comment:3 Changed 12 years ago by tema

Reproduced this on Chrome, Windows 7.

comment:4 Changed 12 years ago by Jakub Ś

Keywords: Chrome added
Status: pendingconfirmed
Version: 3.6.5

Problem can be reproduced in Chrome only from CKEditor 3.6.5 rev. [7633]. It can be also reproduced in CKE 4.x (v4).

Please see attached video.

Changed 12 years ago by Jakub Ś

Attachment: 2013-01-29_1559.swf added

comment:5 Changed 11 years ago by Jakub Ś

Keywords: Blink added; Chrome removed

There is also another more serious issue caused by this revision #10801.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy