table/converters/upcasttable
@ckeditor/ckeditor5-table/src/converters/upcasttable
Filtering
Functions
-
ensureParagraphInTableCell( elementName ) → ( UpcastDispatcher ) => void
module:table/converters/upcasttable~ensureParagraphInTableCell
A converter that ensures an empty paragraph is inserted in a table cell if no other content was converted.
Parameters
elementName : string
Returns
( UpcastDispatcher ) => void
Conversion helper.
-
skipEmptyTableRow() → ( UpcastDispatcher ) => void
module:table/converters/upcasttable~skipEmptyTableRow
A conversion helper that skips empty
elements 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 the table structure (also
TableWalker
assumes that there are only rows that have relatedtableRow
elements).Note: Only the first empty rows are removed because they have no meaning and it solves the issue of an improper table with all empty rows.
Returns
( UpcastDispatcher ) => void
Conversion helper.
upcastTable() → ( UpcastDispatcher ) => void
module:table/converters/upcasttable~upcastTable
View table element to model table element conversion helper.
This conversion helper converts the table element as well as table rows.
Returns
( UpcastDispatcher ) => void
Conversion helper.
upcastTableFigure() → ( UpcastDispatcher ) => void
module:table/converters/upcasttable~upcastTableFigure
Returns a function that converts the table view representation:
<figure class="table"><table>...</table></figure>
to the model representation:
<table></table>
Returns
( UpcastDispatcher ) => void
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.