Opened 9 years ago

Closed 9 years ago

#1806 closed Bug (fixed)

Wrong selection when selecting a Header format at new line in the end of the document

Reported by: fredck Owned by: fredck
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Confirmed IE Review+ Cc: jamalm


This is a IE only issue.

Steps to Reproduce

  1. Clear the editor contents.
  2. Type some text.
  3. Hit ENTER.
  4. Select any Header style in the Format combo.

With IE, the cursor will start blinking at the end of the previous paragraph. Moving down with the arrow key shows that the selected header has been correctly applied though.

Attachments (1)

1806.patch (1.3 KB) - added by fredck 9 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by fredck

  • Cc jamalm added

comment:2 Changed 9 years ago by fredck

  • Owner set to fredck
  • Status changed from new to assigned

This problem is caused by FCKEditingArea._EnsureFocusIE.

Changed 9 years ago by fredck

comment:3 Changed 9 years ago by fredck

  • Keywords Review? added

It seems that the IE behavior for the moveEnd function is not always predictable. I've changed that logic by using our current FCKDomRange.Select function, which already takes care of all IE's weirdnesses.

comment:4 Changed 9 years ago by alfonsoml

  • Keywords Review+ added; Review? removed

comment:5 Changed 9 years ago by fredck

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

Fixed with [1793]. Click here for more info about our SVN system.

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