Opened 15 years ago

Closed 15 years ago

#4881 closed Bug (fixed)

IE: Error when cutting hr or table

Reported by: Frederico Caldeira Knabben Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.3
Component: General Version: 3.0
Keywords: IE Confirmed Review+ Cc:

Description

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 15 years ago.
4881_ref.patch (1.1 KB) - added by Minh Nguyen 15 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 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 15 years ago by Garry Yao

Attachment: 4881.patch added

comment:2 Changed 15 years ago by Garry Yao

Keywords: Review? added
Owner: set to Garry Yao
Status: newassigned
  1. The bug applies to only standards document mode.
  2. The bug affects also Ctrl-X.

Changed 15 years ago by Minh Nguyen

Attachment: 4881_ref.patch added

comment:3 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Review+ added; Review? removed

comment:4 Changed 15 years ago by Garry Yao

Resolution: fixed
Status: assignedclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy