mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Correctly insert images at caret position in IE8/7.
Props lessbloat fixes #22638 git-svn-id: https://develop.svn.wordpress.org/trunk@22943 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e746a5dbb5
commit
870250e617
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user