|
|
@@ -86,6 +86,15 @@ describe( 'RemoveRowCommand', () => {
|
|
|
|
|
|
expect( command.isEnabled ).to.be.false;
|
|
|
} );
|
|
|
+
|
|
|
+ it( 'should be false when the first column with rowspan is selected', () => {
|
|
|
+ editor.setData(
|
|
|
+ '<figure class="table"><table><thead><tr><th rowspan="2">☕️ Espresso</th><th>🥛 Milk</th></tr><tr>' +
|
|
|
+ '<th>Steamed</th></tr></thead><tbody><tr><td>✅ yes</td><td>✅ yes</td></tr></tbody></table></figure>'
|
|
|
+ );
|
|
|
+
|
|
|
+ expect( command.isEnabled ).to.be.false;
|
|
|
+ } );
|
|
|
} );
|
|
|
|
|
|
describe( 'execute()', () => {
|