Ticket #4881 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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.


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

Change History

comment:1 Changed 5 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 5 years ago by garry.yao

comment:2 Changed 5 years ago by garry.yao

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

Changed 5 years ago by m.nguyen

comment:3 Changed 5 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:4 Changed 5 years ago by garry.yao

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

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 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy