#2376 closed Bug (fixed)
FCKeditor should remember the last selection position when it loses focus in IE.
Reported by: | Martin Kou | Owned by: | Martin Kou |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.6.3 |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Confirmed IE Review+ | Cc: |
Description ¶
IE has a long standing bug in which it allows only a single selection position to exist within a window, no matter how many iframes and different pages are opened inside. This causes an annoying problem with FCK.InsertHtml():
- Open sample01.html in IE.
- Put the caret or selection in the middle of the text.
- Click on somewhere outside of the FCKeditor widget.
- Type in the address bar:
javascript: alert(frames[0].FCK.InsertHtml('abcd'));
- The "abcd" is inserted at the beginning of the document, which isn't right.
It should be possible to use the onbeforedeactivate event to save the selection position before FCKeditor is defocused.

Change History (6)
Changed 17 years ago by
Attachment: | 2376.patch added |
---|
comment:1 Changed 17 years ago by
Keywords: | Review? added |
---|---|
Status: | new → assigned |
comment:2 Changed 17 years ago by
Keywords: | Review+ added; Review? removed |
---|
comment:3 Changed 17 years ago by
Milestone: | → FCKeditor 2.6.3 |
---|
comment:4 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed with [2256].
Click here for more info about our SVN system.
comment:5 Changed 17 years ago by
The fix for this bug causes another, more prominent bug described in #2426

That's ok for now. We should have a better solution for V3.