Selaa lähdekoodia

Add isBlock=true to table schema definition.

Maciej Gołaszewski 7 vuotta sitten
vanhempi
sitoutus
caf6faf839
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      packages/ckeditor5-table/src/tableediting.js

+ 2 - 1
packages/ckeditor5-table/src/tableediting.js

@@ -57,7 +57,8 @@ export default class TableEditing extends Plugin {
 			allowWhere: '$block',
 			allowWhere: '$block',
 			allowAttributes: [ 'headingRows', 'headingColumns' ],
 			allowAttributes: [ 'headingRows', 'headingColumns' ],
 			isLimit: true,
 			isLimit: true,
-			isObject: true
+			isObject: true,
+			isBlock: true
 		} );
 		} );
 
 
 		schema.register( 'tableRow', {
 		schema.register( 'tableRow', {