浏览代码

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

Maciej Gołaszewski 7 年之前
父节点
当前提交
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() );