Opened 7 years ago

Closed 7 years ago

#5568 closed Bug (fixed)

[[IE]] First Char in the selected line in a Table is removed from selection after we applied and removed the Formatting

Reported by: Satya Minnekanti Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: 3.0
Keywords: IBM IE Confirmed Review+ Cc: Damian, joek

Description

To reproduce the defect:

  1. Open Ajax Sample.
  1. Insert a Table and enter text in the Table cells.
  1. Select a line(eg: Frederico Knabben) in one of the Table Cells
  1. Click on Bold icon once and see that Bold Formatting is applied to the line.
  1. Click on Bold Icon once again to undo Bold Formatting.

Expected Result: Bold Formatting applied to the line is removed and whole line of text remains selected.

Actual Result: Bold Formatting applied to the line is removed but the First Character(k) in the line is omitted from the selection.

Same behaviour happens with Italic,Underline,Strike Through,Subscript and Superscript formatting options.

Tested against IE 6& 7

Attachments (1)

5568.patch (3.2 KB) - added by Garry Yao 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by Garry Yao

Keywords: IE added
Version: 3.23.0

The bug only occurs when there's at least one space inside selected text.
But it's not a regression, please don't fill the Versionfield if unsure about it.

comment:2 Changed 7 years ago by Garry Yao

The bug only occurs when there's at least one space inside selected text.

Sorry this was misleading, actually the bug happens to any sort of text selection, with the pre-condition that the selection must start from the beginning of the cell.

Changed 7 years ago by Garry Yao

Attachment: 5568.patch added

comment:3 Changed 7 years ago by Garry Yao

Keywords: Confirmed Review? added
Owner: set to Garry Yao
Status: newassigned

comment:4 Changed 7 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:5 Changed 7 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

Fixed with [5463].

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy