Opened 14 years ago
Closed 13 years ago
#7490 closed Bug (fixed)
[IE] Extra <br> counted at the end of selection
Reported by: | Garry Yao | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.6.2 |
Component: | Core : Selection | Version: | 3.0 |
Keywords: | IE Opera | Cc: | satya_minnekanti@… |
Description
With editor using enterMode BR:
- load editor with the following content:
<p>line1<br />line2<br />line3</p>
- Have the first two lines fully selected (by mouse drag to expand selection)
- Click on any block format command, e.g. Indentation.
- Actual Result: Last line is also affected;
- Expected: Only selected lines are affected.
Attachments (1)
Change History (6)
comment:1 Changed 14 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 14 years ago by
Cc: | satya_minnekanti@… added |
---|
Changed 13 years ago by
Attachment: | 7490.patch added |
---|
comment:3 Changed 13 years ago by
Owner: | set to Garry Yao |
---|---|
Status: | confirmed → review |
Design TC updated: run
comment:4 Changed 13 years ago by
Milestone: | → CKEditor 3.6.2 |
---|---|
Status: | review → review_passed |
range::enlarge is really a damt beast!
comment:5 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [7218].
IE and Opera seems to embrace the next line break br within the selection while the line text is fully selected, then after range expands, it reaches the end of next line, which is visually counter-intuitive.