Skip to content

Commit

Permalink
Fix upcast table variable passed to consume
Browse files Browse the repository at this point in the history
  • Loading branch information
Mati365 committed Aug 7, 2024
1 parent ae03b35 commit abecdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ckeditor5-table/src/converters/upcasttable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function upcastTable() {
conversionApi.consumable.consume( viewTable, { name: true } );

if ( viewTable.hasClass( 'ck-table-resized' ) ) {
conversionApi.consumable.consume( data.viewItem, { classes: 'ck-table-resized' } );
conversionApi.consumable.consume( viewTable, { classes: 'ck-table-resized' } );
}

// Upcast table rows in proper order (heading rows first).
Expand Down

0 comments on commit abecdb8

Please sign in to comment.