|
|
@@ -2025,7 +2025,7 @@ describe( 'table clipboard', () => {
|
|
|
} );
|
|
|
} );
|
|
|
|
|
|
- describe.skip( 'non-rectangular content table selection', () => {
|
|
|
+ describe( 'non-rectangular content table selection', () => {
|
|
|
it( 'should split cells outside the selected area before pasting (rowspan ends in selection)', () => {
|
|
|
// +----+----+----+
|
|
|
// | 00 | 01 | 02 |
|
|
|
@@ -2128,7 +2128,8 @@ describe( 'table clipboard', () => {
|
|
|
] ) );
|
|
|
} );
|
|
|
|
|
|
- it( 'should split cells inside the selected area before pasting (rowspan ends after the selection)', () => {
|
|
|
+ // TODO: fix needed for infinite differ.getChanges() - something is messing with the attribute changes.
|
|
|
+ it.skip( 'should split cells inside the selected area before pasting (rowspan ends after the selection)', () => {
|
|
|
// +----+----+----+
|
|
|
// | 00 | 01 | 02 |
|
|
|
// +----+ +----+
|
|
|
@@ -2259,7 +2260,8 @@ describe( 'table clipboard', () => {
|
|
|
] ) );
|
|
|
} );
|
|
|
|
|
|
- it( 'should split cells inside the selected area before pasting (colspan ends after the selection)', () => {
|
|
|
+ // TODO: fix needed for infinite differ.getChanges() - something is messing with the attribute changes.
|
|
|
+ it.skip( 'should split cells inside the selected area before pasting (colspan ends after the selection)', () => {
|
|
|
// +----+----+----+----+----+
|
|
|
// | 00 | 01 | 02 | 03 | 04 |
|
|
|
// +----+----+----+----+----+
|
|
|
@@ -2377,7 +2379,8 @@ describe( 'table clipboard', () => {
|
|
|
] ) );
|
|
|
} );
|
|
|
|
|
|
- it( 'should properly handle complex case', () => {
|
|
|
+ // TODO: fix needed for infinite differ.getChanges() - something is messing with the attribute changes.
|
|
|
+ it.skip( 'should properly handle complex case', () => {
|
|
|
// +----+----+----+----+----+----+----+
|
|
|
// | 00 | 03 | 04 |
|
|
|
// + + +----+----+----+
|
|
|
@@ -2936,7 +2939,7 @@ describe( 'table clipboard', () => {
|
|
|
} );
|
|
|
} );
|
|
|
|
|
|
- // TODO: fix needed...
|
|
|
+ // TODO: fix needed for infinite differ.getChanges() - something is messing with the attribute changes.
|
|
|
describe.skip( 'content table has spans', () => {
|
|
|
beforeEach( () => {
|
|
|
// +----+----+----+----+----+----+
|
|
|
@@ -2965,7 +2968,7 @@ describe( 'table clipboard', () => {
|
|
|
] ) );
|
|
|
} );
|
|
|
|
|
|
- it.skip( 'should split spanned cells on the selection edges (vertical spans)', () => {
|
|
|
+ it( 'should split spanned cells on the selection edges (vertical spans)', () => {
|
|
|
tableSelection.setCellSelection(
|
|
|
modelRoot.getNodeByPath( [ 0, 2, 0 ] ),
|
|
|
modelRoot.getNodeByPath( [ 0, 4, 1 ] ) // Cell 44.
|
|
|
@@ -3002,7 +3005,7 @@ describe( 'table clipboard', () => {
|
|
|
] ) );
|
|
|
} );
|
|
|
|
|
|
- it.skip( 'should split spanned cells on the selection edges (horizontal spans)', () => {
|
|
|
+ it( 'should split spanned cells on the selection edges (horizontal spans)', () => {
|
|
|
tableSelection.setCellSelection(
|
|
|
modelRoot.getNodeByPath( [ 0, 0, 2 ] ),
|
|
|
modelRoot.getNodeByPath( [ 0, 4, 1 ] ) // Cell 44.
|