Opened 16 years ago

Closed 15 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:

  1. load editor with the following content:
    <p>line1<br />line2<br />line3</p>
    
  2. Have the first two lines fully selected (by mouse drag to expand selection)
  3. Click on any block format command, e.g. Indentation.
  • Actual Result: Last line is also affected;
  • Expected: Only selected lines are affected.

Attachments (1)

7490.patch​ (1.0 KB) - added by Garry Yao 15 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 16 years ago by Garry Yao

Status: new → confirmed

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.

comment:2 Changed 16 years ago by Satya Minnekanti

Cc: satya_minnekanti@… added

Changed 15 years ago by Garry Yao

Attachment: 7490.patch​ added

comment:3 Changed 15 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmed → review

Design TC updated: ​run

comment:4 Changed 15 years ago by Frederico Caldeira Knabben

Milestone: → CKEditor 3.6.2
Status: review → review_passed

range::enlarge is really a damt beast!

comment:5 Changed 15 years ago by Garry Yao

Resolution: → fixed
Status: review_passed → closed

Fixed with [7218].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy