Selaa lähdekoodia

Updated test for tableCell schema.

Kuba Niegowski 5 vuotta sitten
vanhempi
commit
7421549246
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      packages/ckeditor5-table/tests/tableediting.js

+ 1 - 0
packages/ckeditor5-table/tests/tableediting.js

@@ -68,6 +68,7 @@ describe( 'TableEditing', () => {
 		// Table cell:
 		expect( model.schema.isRegistered( 'tableCell' ) ).to.be.true;
 		expect( model.schema.isLimit( 'tableCell' ) ).to.be.true;
+		expect( model.schema.getDefinition( 'tableCell' ) ).to.have.property( 'allowMultiRangeSelection', true );
 
 		expect( model.schema.checkChild( [ '$root' ], 'tableCell' ) ).to.be.false;
 		expect( model.schema.checkChild( [ 'table' ], 'tableCell' ) ).to.be.false;