8
0
Просмотр исходного кода

Fix: Downcast converter for table attributes should work with not converted child elements.

Maciej Gołaszewski 7 лет назад
Родитель
Сommit
b784c7acdc
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      packages/ckeditor5-table/src/tableediting.js

+ 3 - 0
packages/ckeditor5-table/src/tableediting.js

@@ -68,6 +68,9 @@ export default class TableEditing extends Plugin {
 			isLimit: true
 		} );
 
+		// Allow all $block content inside table cell.
+		schema.extend( '$block', { allowIn: 'tableCell' } );
+
 		// Table conversion.
 		conversion.for( 'upcast' ).add( upcastTable() );