|
@@ -296,7 +296,7 @@ describe( 'TableEditing', () => {
|
|
|
|
|
|
|
|
it( 'should not create another row and not move the caret if insertTableRowBelow command is disabled', () => {
|
|
it( 'should not create another row and not move the caret if insertTableRowBelow command is disabled', () => {
|
|
|
setModelData( model, modelTable( [
|
|
setModelData( model, modelTable( [
|
|
|
- [ '11', '[12]' ]
|
|
|
|
|
|
|
+ [ '11', '12[]' ]
|
|
|
] ) );
|
|
] ) );
|
|
|
|
|
|
|
|
const insertTableRowBelowCommand = editor.commands.get( 'insertTableRowBelow' );
|
|
const insertTableRowBelowCommand = editor.commands.get( 'insertTableRowBelow' );
|
|
@@ -306,7 +306,7 @@ describe( 'TableEditing', () => {
|
|
|
editor.editing.view.document.fire( 'keydown', domEvtDataStub );
|
|
editor.editing.view.document.fire( 'keydown', domEvtDataStub );
|
|
|
|
|
|
|
|
expect( formatTable( getModelData( model ) ) ).to.equal( formattedModelTable( [
|
|
expect( formatTable( getModelData( model ) ) ).to.equal( formattedModelTable( [
|
|
|
- [ '11', '[12]' ],
|
|
|
|
|
|
|
+ [ '11', '12[]' ]
|
|
|
] ) );
|
|
] ) );
|
|
|
} );
|
|
} );
|
|
|
|
|
|