TinyMCE: Fix cursor position after updating a wpview node. Fix hiding the inline toolbar on editor blur.
Props iseulde, azaozz. Fixes #40480 for trunk. Built from https://develop.svn.wordpress.org/trunk@40481 git-svn-id: http://core.svn.wordpress.org/trunk@40357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -992,7 +992,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||
|
||||
function hide( event ) {
|
||||
if ( activeToolbar ) {
|
||||
if ( activeToolbar.tempHide || event.type === 'hide' ) {
|
||||
if ( activeToolbar.tempHide || event.type === 'hide' || event.type === 'blur' ) {
|
||||
activeToolbar.hide();
|
||||
activeToolbar = false;
|
||||
} else if ( (
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user