Ticket #1806 (closed Bug: fixed)

Opened 3 months ago

Last modified 2 months ago

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

Reported by: fredck Assigned to: fredck
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: SVN
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 on 03/21/08 11:41:55.

Change History

02/06/08 18:27:00 changed by fredck

  • cc set to jamalm.

03/21/08 09:16:39 changed by fredck

  • owner set to fredck.
  • status changed from new to assigned.

This problem is caused by FCKEditingArea._EnsureFocusIE.

03/21/08 11:41:55 changed by fredck

  • attachment 1806.patch added.

03/21/08 11:43:46 changed by fredck

  • keywords changed from Confirmed IE to Confirmed IE Review?.

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.

03/23/08 12:32:48 changed by alfonsoml

  • keywords changed from Confirmed IE Review? to Confirmed IE Review+.

03/25/08 11:11:24 changed by fredck

  • status changed from assigned to closed.
  • resolution set to fixed.

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