Module

table/converters/table-cell-content-post-fixer

@ckeditor/ckeditor5-table/src/converters/table-cell-content-post-fixer

module

Filtering

Functions

  • injectTableCellContentPostFixer( model )

    static

    Injects a table cell post-fixer into the model.

    The role of the table post-fixer is to ensure that the table cells have the correct content after a change() block was executed.

    A table cells must contains at least one block as a child. The empty table cell will have empty <paragraph> as a child.

    <table>
        <tableRow>
            <tableCell></tableCell>
        </tableRow>
    </table>

    Will be fixed to:

    <table>
        <tableRow>
            <tableCell><paragraph></paragraph></tableCell>
        </tableRow>
    </table>

    Parameters

    model : Model