diff --git a/client/components/tinymce/plugins/wpcom/plugin.js b/client/components/tinymce/plugins/wpcom/plugin.js index 468b332f0badf5..56eadd6e7401b5 100644 --- a/client/components/tinymce/plugins/wpcom/plugin.js +++ b/client/components/tinymce/plugins/wpcom/plugin.js @@ -630,9 +630,9 @@ function wpcomPlugin( editor ) { if ( activeToolbar ) { activeToolbar.hide(); - if ( event.type === 'hide' ) { + if ( event.type === 'hide' || event.type === 'blur' ) { activeToolbar = false; - } else if ( event.type === 'resize' || event.type === 'scroll' ) { + } else if ( event.type === 'resizewindow' || event.type === 'scroll' ) { clearTimeout( timeout ); timeout = setTimeout( function() {