Ticket #40480: 40480.patch
File 40480.patch, 1.1 KB (added by , 8 years ago) |
---|
-
src/wp-includes/js/mce-view.js
729 729 $( node ).data( 'rendered', false ); 730 730 editor.dom.setAttrib( node, 'data-wpview-text', encodeURIComponent( text ) ); 731 731 wp.mce.views.createInstance( type, text, match.options, force ).render(); 732 733 editor.selection.select( node ); 734 editor.nodeChanged(); 732 735 editor.focus(); 733 736 734 737 return true; -
src/wp-includes/js/tinymce/plugins/wordpress/plugin.js
992 992 993 993 function hide( event ) { 994 994 if ( activeToolbar ) { 995 if ( activeToolbar.tempHide || event.type === 'hide' ) {995 if ( activeToolbar.tempHide || event.type === 'hide' || event.type === 'blur' ) { 996 996 activeToolbar.hide(); 997 997 activeToolbar = false; 998 998 } else if ( (