table/converters/table-cell-paragraph-post-fixer
module
Functions
-
injectTableCellParagraphPostFixer( model ) → void
internalmodule:table/converters/table-cell-paragraph-post-fixer~injectTableCellParagraphPostFixer
Injects a table cell post-fixer into the model which inserts a
paragraph
element into empty table cells.A table cell must contain at least one block element as a child. An empty table cell will have an 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
Returns
void