Module

table/converters/upcasttable

@ckeditor/ckeditor5-table/src/converters/upcasttable

module

Filtering

Functions

  • skipEmptyTableRow() → function

    A conversion helper that skips empty from upcasting at the beginning of the table.

    AN empty row is considered a table model error but when handling clipboard data there could be rows that contain only row-spanned cells and empty TR-s are used to maintain table structure (also TableWalker assumes that there are only rows that have related tableRow elements).

    Note: Only the first empty rows are removed because those have no meaning and it solves the issue of an improper table with all empty rows.

    Returns

    function

    Conversion helper.

  • upcastTable() → function

    View the table element to model the table element conversion helper.

    This conversion helper converts the table element as well as table rows.

    Returns

    function

    Conversion helper.