Sfoglia il codice sorgente

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

Maciej Gołaszewski 7 anni fa
parent
commit
b784c7acdc
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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() );