Ticket #6865: 6865_2.patch
File 6865_2.patch, 801 bytes (added by , 14 years ago) |
---|
-
_source/plugins/div/dialogs/div.js
498 498 var size = containers.length; 499 499 for ( var i = 0; i < size; i++ ) 500 500 { 501 var dirBefore = containers[ i ].getDirection(); 501 502 this.commitContent( containers[ i ] ); 503 var dir = containers[ i ].getDirection(); 502 504 505 // Update direction status. 506 ( dir != dirBefore ) && editor.fire( 'dirChanged', { node : containers[ i ], dir : dir } ); 507 editor.forceNextSelectionCheck(); 508 503 509 // Remove empty 'style' attribute. 504 510 !containers[ i ].getAttribute( 'style' ) && containers[ i ].removeAttribute( 'style' ); 505 511 }