Opened 11 years ago
Last modified 11 years ago
#11042 closed Bug
Selection.selectRanges selects contents of a non-editable element — at Version 1
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 4.3.1 |
Component: | Core : Selection | Version: | |
Keywords: | Cc: |
Description (last modified by )
- Go to placeholder sample.
- Select placeholder.
- Click bold button.
- Click "strong" in elements path
- Expected: placeholder should be selected with fake selection.
- Actual: selection is anchored inside widget element.
Elements path uses the selection#selectElement method which does nothing more than selectRanges, so the issue is inside selectRanges or in browsers (less likely).
It also concerns IE8, but even more often. In #10887 we needed to disable two tests:
Change History (1)
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Status: | new → confirmed |