Opened 11 years ago
Last modified 11 years ago
#11042 closed Bug
Selection.selectRanges selects contents of a non-editable element — at Initial Version
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
- 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).