Ticket #7657: 7657.patch
File 7657.patch, 858 bytes (added by , 13 years ago) |
---|
-
_source/plugins/list/plugin.js
363 363 contentBlock.appendTo( listItem ); 364 364 else 365 365 { 366 // Remove DIR attribute if it was merged into list root. 366 contentBlock.copyAttributes( listItem ); 367 // Remove direction attribute after it was merged into list root. (#7657) 367 368 if ( listDir && contentBlock.getDirection() ) 368 369 { 369 contentBlock.removeStyle( 'direction' );370 contentBlock.removeAttribute( 'dir' );370 listItem.removeStyle( 'direction' ); 371 listItem.removeAttribute( 'dir' ); 371 372 } 372 373 contentBlock.copyAttributes( listItem );374 373 contentBlock.moveChildren( listItem ); 375 374 contentBlock.remove(); 376 375 }