Changeset 39916
- Timestamp:
- 01/17/2017 01:24:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js
r39910 r39916 544 544 editor.on( 'PastePostProcess', function( event ) { 545 545 // Remove empty paragraphs 546 e ach( dom.select( 'p', event.node ), function(node ) {546 editor.$( 'p', event.node ).each( function( i, node ) { 547 547 if ( dom.isEmpty( node ) ) { 548 548 dom.remove( node ); 549 549 } 550 550 }); 551 552 if ( tinymce.isIE ) { 553 editor.$( 'a', event.node ).find( 'font, u' ).each( function( i, node ) { 554 dom.remove( node, true ); 555 }); 556 } 551 557 }); 552 558 }
Note: See TracChangeset
for help on using the changeset viewer.