table/converters/table-cell-refresh-handler
module
Functions
tableCellRefreshHandler( model, editing ) → voidinternalmodule:table/converters/table-cell-refresh-handler~tableCellRefreshHandlerA table cell refresh handler which marks the table cell in the differ to have it re-rendered.
Model
paragraphinside a table cell can be rendered as<span>or<p>. It is rendered as<span>if this is the only block element in that table cell and it does not have any attributes. It is rendered as<p>otherwise.When table cell content changes, for example a second
paragraphelement is added, we need to ensure that the firstparagraphis re-rendered so it changes from<span>to<p>. The easiest way to do it is to re-render the entire table cell.Parameters
model : Modelediting : EditingController
Returns
void