What is @ckeditor/ckeditor5-table?
@ckeditor/ckeditor5-table is a plugin for CKEditor 5 that provides table editing capabilities. It allows users to create, edit, and manage tables within the CKEditor 5 rich text editor.
What are @ckeditor/ckeditor5-table's main functionalities?
Creating a Table
This code initializes the CKEditor with table creation capabilities. The toolbar includes options to insert a table, add columns, add rows, and merge cells.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Table, TableToolbar ], toolbar: [ 'insertTable', 'tableColumn', 'tableRow', 'mergeTableCells' ] })
Inserting a Table
This code demonstrates how to programmatically insert a 3x3 table into the editor.
editor.execute('insertTable', { rows: 3, columns: 3 })
Adding a Column
This code shows how to add a column to the right of the selected cell in the table.
editor.execute('insertTableColumn', { at: 'right' })
Adding a Row
This code demonstrates how to add a row below the selected cell in the table.
editor.execute('insertTableRow', { at: 'below' })
Merging Cells
This code shows how to merge selected cells in the table.
editor.execute('mergeTableCells')
Other packages similar to @ckeditor/ckeditor5-table
quill-table
quill-table is a module for the Quill rich text editor that provides table editing capabilities. It allows users to create and manage tables within the Quill editor. Compared to @ckeditor/ckeditor5-table, quill-table offers similar functionalities but is designed specifically for the Quill editor.
tinymce
TinyMCE is a rich text editor that includes built-in table editing capabilities. It allows users to create, edit, and manage tables within the editor. TinyMCE provides a comprehensive set of table editing tools, similar to @ckeditor/ckeditor5-table, but is a standalone editor rather than a plugin.
prosemirror-tables
prosemirror-tables is a plugin for the ProseMirror editor that provides table editing functionalities. It allows users to create and manage tables within the ProseMirror editor. Compared to @ckeditor/ckeditor5-table, prosemirror-tables offers similar features but is designed for use with the ProseMirror editor.
44.0.0 (December 2, 2024)
Release Highlights
We are excited to introduce CKEditor 5 v44.0.0, a release packed with high impact updates designed to enhance your editing experience and simplify access to our premium offers. Here's whatβs new:
π Self-service plans: Simplified access to premium features
We are introducing flexible self-service plans that put you in control with full transparency. Now, you can:
π‘ Important for current users:
If you are upgrading to v44.0.0+, ensure a smooth transition by updating your license keys in the editor, as we implemented a new format of the key. To get the new key, visit the Customer Portal. You can also refer to our license key and activation guide for help with logging in to the portal.
π£ The open-source licensing remains unchanged. However, config.licenseKey
is now a required property in the editor configuration. Use 'GPL'
for installations under the GPL terms. Read more in the update guide.
π Bookmarks: Organize your content with ease
Say hello to Bookmarks, a long-awaited feature that simplifies content navigation within the editor. With this release, you can:
- Add anchors as reference points within text.
- Link to the newly created bookmarks in the editor to navigate to specific locations within complex documents, such as contracts or technical manuals.
π Future updates to Bookmarks and the linking experience are planned for the upcoming releases. Follow progress and share your feedback on GitHub.
β‘ Performance improvements: Faster table rendering
The current release includes another stride towards improving the performance aspect of the editor, this time focusing on how tables are handled in the content. Implemented optimizations have made table rendering 3x faster, with the average load time of a document with a very long, complex tables dropping from around 4.5 seconds to just 1.5 seconds.