Ticket #9110 (closed Bug: fixed)

Opened 2 years ago

Last modified 2 years ago

IE: Unspecified Error when making a selection with images in the editor

Reported by: tmonahan Owned by:
Priority: Normal Milestone: CKEditor 3.6.4
Component: General Version: 3.6.4
Keywords: IBM Cc: damo, satya

Description

This problem occurs when <META content="IE=7.0000" http-equiv="X-UA-Compatible"> is included in the HTML for the page. See 'IE unspecified error.html​' for a reproducible test case.

  • Copy IE unspecified error.html​ into the _samples folder and open in IE.
  • Insert a smiley and make a selection by starting the selection at the end of the editor contents.

Problem: an unspecified error occurs.

This is related to ticket #9034 and requires a similar fix. A proposed solution is provided in the attached patch.

Attachments

IE unspecified error.html (908 bytes) - added by tmonahan 2 years ago.
9110.patch (444 bytes) - added by tmonahan 2 years ago.
Patch for plugins/selection/plugin.js

Change History

Changed 2 years ago by tmonahan

Changed 2 years ago by tmonahan

Patch for plugins/selection/plugin.js

comment:1 Changed 2 years ago by garry.yao

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

Thanks for the patch, fixed with [7551].

comment:2 follow-up: ↓ 3 Changed 2 years ago by garry.yao

  • Milestone set to CKEditor 3.6.4

comment:3 in reply to: ↑ 2 Changed 2 years ago by tmonahan

Replying to garry.yao:

Hi Garry, In the provided fix, the moveRangeToPoint function always calls moveToPoint() on textRng, Previously it was called on rngEnd in the onHover function. Could this cause unexpected behavior?

comment:4 Changed 2 years ago by garry.yao

The above is a valid review, post-fixed with [7556].

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