|
@@ -102,7 +102,7 @@ describe( 'table properties', () => {
|
|
|
|
|
|
|
|
command.execute( { value: 'right' } );
|
|
command.execute( { value: 'right' } );
|
|
|
|
|
|
|
|
- assertTableStyle( editor, null, 'float:left;margin-right:0;' );
|
|
|
|
|
|
|
+ assertTableStyle( editor, null, 'float:right;margin-right:0;' );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'should change selected table alignment to a passed value', () => {
|
|
it( 'should change selected table alignment to a passed value', () => {
|
|
@@ -110,7 +110,7 @@ describe( 'table properties', () => {
|
|
|
|
|
|
|
|
command.execute( { value: 'right' } );
|
|
command.execute( { value: 'right' } );
|
|
|
|
|
|
|
|
- assertTableStyle( editor, null, 'float:left;margin-right:0;' );
|
|
|
|
|
|
|
+ assertTableStyle( editor, null, 'float:right;margin-right:0;' );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'should remove alignment from a selected table if no value is passed', () => {
|
|
it( 'should remove alignment from a selected table if no value is passed', () => {
|
|
@@ -128,7 +128,7 @@ describe( 'table properties', () => {
|
|
|
|
|
|
|
|
command.execute( { value: 'right' } );
|
|
command.execute( { value: 'right' } );
|
|
|
|
|
|
|
|
- assertTableStyle( editor, null, 'float:left;margin-right:0;' );
|
|
|
|
|
|
|
+ assertTableStyle( editor, null, 'float:right;margin-right:0;' );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'should change selected table alignment to a passed value', () => {
|
|
it( 'should change selected table alignment to a passed value', () => {
|
|
@@ -136,7 +136,7 @@ describe( 'table properties', () => {
|
|
|
|
|
|
|
|
command.execute( { value: 'right' } );
|
|
command.execute( { value: 'right' } );
|
|
|
|
|
|
|
|
- assertTableStyle( editor, null, 'float:left;margin-right:0;' );
|
|
|
|
|
|
|
+ assertTableStyle( editor, null, 'float:right;margin-right:0;' );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'should remove alignment from a selected table if no value is passed', () => {
|
|
it( 'should remove alignment from a selected table if no value is passed', () => {
|