Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#9110 closed Bug (fixed)

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 (2)

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

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by tmonahan

Changed 3 years ago by tmonahan

Patch for plugins/selection/plugin.js

comment:1 Changed 3 years ago by garry.yao

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

Thanks for the patch, fixed with [7551].

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

  • Milestone set to CKEditor 3.6.4

comment:3 in reply to: ↑ 2 Changed 3 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 3 years ago by garry.yao

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

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