Opened 18 years ago
Closed 18 years ago
#1806 closed Bug (fixed)
Wrong selection when selecting a Header format at new line in the end of the document
| Reported by: | Frederico Caldeira Knabben | Owned by: | Frederico Caldeira Knabben |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6 |
| Component: | General | Version: | SVN (FCKeditor) - Retired |
| Keywords: | Confirmed IE Review+ | Cc: | Jamal |
Description
This is a IE only issue.
Steps to Reproduce
- Clear the editor contents.
- Type some text.
- Hit ENTER.
- 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)
Change History (6)
comment:1 Changed 18 years ago by
| Cc: | Jamal added |
|---|
comment:2 Changed 18 years ago by
| Owner: | set to Frederico Caldeira Knabben |
|---|---|
| Status: | new → assigned |
Changed 18 years ago by
| Attachment: | 1806.patch added |
|---|
comment:3 Changed 18 years ago by
| 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 18 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
comment:5 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed with [1793]. Click here for more info about our SVN system.

This problem is caused by FCKEditingArea._EnsureFocusIE.