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
- open http://nightly.ckeditor.com/13-01-28-08-51/standard/samples/plugins/enterkey/enterkey.html
- select BR mode
- remove all text
- type in some text (line 1)
- press enter
- type in some more text (line 2)
- select all text on the second line
- 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)
Change History (6)
comment:1 Changed 12 years ago by
Status: | new → pending |
---|
comment:2 Changed 12 years ago by
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:4 Changed 12 years ago by
Keywords: | Chrome added |
---|---|
Status: | pending → confirmed |
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
Attachment: | 2013-01-29_1559.swf added |
---|
comment:5 Changed 11 years ago by
Keywords: | Blink added; Chrome removed |
---|
There is also another more serious issue caused by this revision #10801.
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?