Opened 11 years ago
Last modified 11 years ago
#11113 confirmed Bug
[IE] Elementspath does not display valid path for first click after selectall
Reported by: | Marek Lewandowski | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | IE | Cc: |
Description
since: 4.0 until major
This issue also appears in widgets content editables.
- open any sample with CKEditor (i.e. samples/replacebyclass.html)
- use following source:
<p>dsadasd <a href="http://aasd">asdsd</a> dassd</p>
- switch back to wysiwyg mode
- ctrl+a (select all)
- click once inside link text, to place caret as follows:
dsadasd as^dsd dassd
Expected result:
Following elementspath: body p a
Current result:
Elementspath without a element: body p
Second case:
Steps 1-4 as in case above
- click once text after link, to place caret as follows:
dsadasd asdsd das^sd
... and now elementspath shows body p a
but it should not.
additional info:
- issue does not appear after first click
- issue was not present in 3.6.6.1 (tested with ie10), but please, double check me here
- present in IE9, IE10, IE11 - i didnt check ie8
I was able to reproduce this problem from CKEditor 4.0 beta in IE8-11.
To reproduce step two in my case:
To reproduce issue two, continuation after first TC is needed.
It looks to me like elements' path is one step behind collapsed selection. Try pressing Ctrl+A and clicking inside link or text and you will see.