table/converters/downcast
@ckeditor/ckeditor5-table/src/converters/downcast
Filtering
Functions
-
downcastInsertCell() → function
static
Model table cell element to view
<td>
or<th>
element conversion helper.This conversion helper will create proper
<th>
elements for table cells that are in the heading section (heading row or column) and<td>
otherwise.Returns
function
Conversion helper.
-
downcastInsertRow() → function
static
Model row element to view
<tr>
element conversion helper.This conversion helper creates the whole
<tr>
element with child elements.Returns
function
Conversion helper.
-
downcastInsertTable( options = { options.asWidget } ) → function
static
Model table element to view table element conversion helper.
This conversion helper creates the whole table element with child elements.
Parameters
options : Object
-
Properties
options.asWidget : Boolean
If set to
true
, the downcast conversion will produce a widget.
Returns
function
Conversion helper.
-
downcastRemoveRow() → function
static
Conversion helper that acts on a removed row.
Returns
function
Conversion helper.
-
downcastTableHeadingColumnsChange() → function
static
Conversion helper that acts on heading columns table attribute change.
Depending on changed attributes this converter will rename
<td
to<th>
elements or vice versa depending of the cell column index.Returns
function
Conversion helper.
-
downcastTableHeadingRowsChange() → function
static
Conversion helper that acts on heading rows table attribute change.
This converter will:
- Rename
<td>
to<th>
elements or vice versa depending on headings. - Create
<thead>
or<tbody>
elements if needed. - Remove empty
<thead>
or<tbody>
if needed.
Returns
function
Conversion helper.
- Rename