Opened 7 years ago

Closed 7 years ago

#4881 closed Bug (fixed)

IE: Error when cutting hr or table

Reported by: fredck Owned by: garry.yao
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: 3.0
Keywords: IE Confirmed Review+ Cc:


With IE:

  1. Insert an horizontal rule or a table in the document.
  2. Select the inserted element.
  3. Right-click for the context menu.
  4. Select "Cut".

A js error is thrown.

Attachments (2)

4881.patch (2.7 KB) - added by garry.yao 7 years ago.
4881_ref.patch (1.1 KB) - added by m.nguyen 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by garry.yao

IE bug here, selection system throws exception when 'cut' command is performed:

// nativeSelection.type == 'Control';
var range = nativeSelection.createRange();

Changed 7 years ago by garry.yao

comment:2 Changed 7 years ago by garry.yao

  • Keywords Review? added
  • Owner set to garry.yao
  • Status changed from new to assigned
  1. The bug applies to only standards document mode.
  2. The bug affects also Ctrl-X.

Changed 7 years ago by m.nguyen

comment:3 Changed 7 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:4 Changed 7 years ago by garry.yao

  • Resolution set to fixed
  • Status changed from assigned to closed

I was thinking of 4881_ref.patch before, but it doesn't eliminate other selection system error.
Fixed with [5381].

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