Ticket #32045: 32045.patch
File 32045.patch, 732 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/js/tinymce/plugins/wpview/plugin.js
361 361 362 362 // Remove marker attributes 363 363 $( 'p[data-wpview-marker]', rootNode ).attr( 'data-wpview-marker', null ); 364 365 // Reset the selected node if any366 selected = null;367 364 } 368 365 369 366 editor.on( 'PreProcess', function( event ) { … … 374 371 editor.on( 'hide', function() { 375 372 // Replace the view nodes with their text directly in the editor body. 376 373 wp.mce.views.unbind(); 374 deselect(); 377 375 resetViews( editor.getBody() ); 378 376 }); 379 377