This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
v11.0.0
Features
-
Implemented the table post–fixer which bulletproofs the feature in various complex use–cases (e.g. pasting and real-time collaborative editing). Closes #13. (01f9a3b)
-
Introduced the toolbar for the table widget (previously it was available only for single cells). Changed the toolbar configuration option from
table.toolbar
totable.contentToolbar
. Closes #113. Closes #106. (9f9486d)Other:
config.table.toolbar
is marked as depracted. Useconfig.table.contentToolbar
instead. -
Introduced a support for block content inside tables. Closes #56. (cdf718e)
Bug fixes
- A table cell should always have a
<paragraph>
in the model. Closes #125. (1eb5d6d) - Downcast converter for table attributes should work with not converted child elements. Closes #92. (a3ea18d)
- Merging down rowspanned cell from the head with a cell in the body is now disabled. Closes #86. (cb77e38)
- The upcast conversion will now properly parse inline content in table cell into single paragraph. Closes ckeditor/ckeditor5#1246. (ea1e16d)
- Toggling headers should always include the column or row the selection is anchored to. Closes #34. (bce6766)
Other changes
- Aligned
TableToolbar
to the widget toolbar repository. Closes #107. (e276e66) - Media should not be allowed inside table cells for now. Closes #124. (2f2fe4a)
- Table feature should insert table the same way as other widget features do. Closes #27. (77d96a4)
- The table cell view post-fixer should use changed elements from the view to make fixes. Closes #130. (efc53c9)
- Updated the table icon which used to feel bulky with a lighter design. Closes #117. (cd6f5ff)
- Updated translations. (de47767)
BREAKING CHANGES
- The
config.table.toolbar
was renamed toconfig.table.contentToolbar
. - The
injectTablePostFixer()
function fromtable/converters/table-post-fixer
is nowinjectTableLayoutPostFixer()
and is moved totable/converters/table-layout-post-fixer
module. - The
TableUtils#createTable()
method now accepts modelWriter
instance instead ofPosition
. The method no longer inserts created table to the model - use returned value instead. - Removed
table/commands/utils~getParentTable()
method. Usetable/commands/utils~findAncestor()
instead.