Ticket #1806 (closed Bug: fixed)

Opened 7 years ago

Last modified 6 years ago

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

Description

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

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

Change History

comment:1 Changed 7 years ago by fredck

  • Cc jamalm added

comment:2 Changed 6 years ago by fredck

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

This problem is caused by FCKEditingArea._EnsureFocusIE.

Changed 6 years ago by fredck

comment:3 Changed 6 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 6 years ago by alfonsoml

  • Keywords Review+ added; Review? removed

comment:5 Changed 6 years ago by fredck

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

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

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