FCKeditor should remember the last selection position when it loses focus in IE.
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)
Keywords: |
Review? added
|
Status: |
new →
assigned
|
Keywords: |
Review+ added; Review? removed
|
Milestone: |
→ FCKeditor 2.6.3
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
That's ok for now. We should have a better solution for V3.