Explorar o código

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

Maciej Gołaszewski %!s(int64=7) %!d(string=hai) anos
pai
achega
b784c7acdc
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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() );