Opened 12 years ago

Closed 12 years ago

#531 closed Bug (fixed)

Current style name is set to null on keypress in IE

Reported by: Jon Håvard Gundersen Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

When writing or navigating through the document with the keyboard in IE (7) the style description is set to null.

This is because FCKSelection.GetParentElement() returns null if selection type is equal to "none", and IE seems to set the selection type to none if the cursor has been moved by the keyboard. If I click at the paragraph with the mouse the style description is successfully loaded.

A temporary workaround is to uncomment the two lines in the FCKSelection.GetParentElement which checks if the type is "none", but I don't know if this will affect other parts of the software.

Change History (2)

comment:1 Changed 12 years ago by Jon Håvard Gundersen

This ticket can be closed, was fixed with [630]

comment:2 Changed 12 years ago by Frederico Caldeira Knabben

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