Ticket #6060 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

IE: Error on editor.destroy() with selection

Reported by: fredck Owned by: fredck
Priority: Normal Milestone: CKEditor 3.4
Component: General Version:
Keywords: IE Cc:

Description

With IE8+Compat, when calling editor.destroy() in an editor with selection, a js error is thrown.

I'm attaching a test page that shows the problem.

Attachments

TC_6060.html (854 bytes) - added by fredck 4 years ago.
Test case page.
6060.patch (451 bytes) - added by fredck 4 years ago.

Change History

Changed 4 years ago by fredck

Test case page.

comment:1 Changed 4 years ago by fredck

  • Status changed from new to confirmed

This is a regression of #3812 introduced with [5681].

Changed 4 years ago by fredck

comment:2 Changed 4 years ago by fredck

  • Status changed from confirmed to review

The attached test page is a reduced TC for the issue that the code removed by [5681] is supposed to exist. With this patch, I'm proposing a much simpler solution for it.

comment:3 Changed 4 years ago by fredck

  • Milestone set to CKEditor 3.4

comment:4 Changed 4 years ago by Saare

  • Status changed from review to review_passed

comment:5 Changed 4 years ago by fredck

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

Fixed with [5775].

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