diff --git a/wp-includes/js/media-editor.js b/wp-includes/js/media-editor.js index 7e9460ae46..3d0daae7c0 100644 --- a/wp-includes/js/media-editor.js +++ b/wp-includes/js/media-editor.js @@ -531,8 +531,10 @@ } // Save a bookmark of the caret position, needed for IE - if ( tinymce.isIE && editor && ! editor.isHidden() ) + if ( tinymce.isIE && editor && ! editor.isHidden() ) { + editor.focus(); editor.windowManager.insertimagebookmark = editor.selection.getBookmark(); + } } // Last but not least, fall back to the empty string.