Index: _whatsnew.html
===================================================================
--- _whatsnew.html (revision 2371)
+++ _whatsnew.html (working copy)
@@ -50,6 +50,8 @@
character inside text wasn't encoded in Opera and Safari.
[#2467] Fixed JavaScript
error with the fit window command in source mode.
+ [#2496] Using the Paste
+ dialogs in IE might insert the content at the start of the editor.
See previous versions history
Index: editor/fckdialog.html
===================================================================
--- editor/fckdialog.html (revision 2371)
+++ editor/fckdialog.html (working copy)
@@ -684,6 +684,11 @@
window.Ok = function()
{
+ // Move the focus to the OK button so even if the dialog contains a
+ // contentEditable element the selection is properly restored in the editor #2496
+ window.focus() ;
+ $('btnOk').focus() ;
+
Selection.EnsureSelection() ;
var frmMain = window.frames["frmMain"] ;