Module

table/tablecolumnresize/converters

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

module

Filtering

Functions

  • downcastTableColumnWidthsAttribute() → function

    Returns a helper for converting a model table columnWidths attribute to view <colgroup> and <col> elements.

    Returns

    function

    Conversion helper.

  • upcastColgroupElement( editor ) → function

    Returns a helper for converting a view <colgroup> and <col> elements to the model table columnWidths attribute.

    Only the inline width, provided as a percentage value, in the <col> element is taken into account. If there are not enough <col> elements matching this condition, the special value 'auto' is returned. It indicates that the width of a column will be automatically calculated in the post-fixer, depending on the available table space.

    Parameters

    editor : Editor

    The editor instance.

    Returns

    function

    Conversion helper.