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.2.0 (February 12, 2025)
We are happy to announce the release of CKEditor 5 v44.2.0.
Release Highlights
🖥️ Enhanced Source Code Editing (⭐)
Introducing new premium feature: Enhanced Source Code Editing. It displays the source code in a dialog and is compatible with all editor types. It offers syntax highlighting, code completion, code folding, and other advanced functionalities. Additionally, it supports both HTML and Markdown formats.
📤 Uploadcare and image optimizer (⭐)
We have integrated the Uploadcare image manager service, enabling you to upload and edit images to their cloud environment. You can upload files from various sources, including local devices, social media, or online drives ensuring rapid uploads. The integration takes care of efficient media delivery with responsive images mechanism, making sure your users will save bandwidth and have faster website loading. You can also optimize images with the built-in image editor which offers a range of features, such as cropping, rotating, flipping, photo filters and more. All this directly from the editor, try it out!
🖼️ Image Merge Fields (⭐)
Image merge fields are a new type of merge fields, dedicated for image placeholders. They maintain all standard image interactions, like styling, resizing or captions (in which you can use merge fields too!) At the same time, they keep all merge fields functionalities, like data previews or document export integration. In the document data, image merge fields are represented like other images, however their src
attribute is set to a respective merge field, for example, src="{{CompanyLogo}}"
, making them easy to post-process!
📝 Track Changes Preview (⭐)
We have added the preview mode that displays a document with all suggestions accepted. Accessible from the track changes dropdown, this modal preview helps check the final content without extensive markers.
😀 Emoji support
They are here! 🎉 🥳 🎊 Insert emojis effortlessly in the editor by typing :
or through a user-friendly emoji picker. This feature enhances the richness of your content by allowing quick access to a wide range of emojis.
⚡ Performance improvements: Part 4
Here comes the final batch of the planned performance improvements in the editor loading speed area, that we worked on through a couple of past releases.
- A new caching mechanism in
Mapper
now handles model-to-view mappings, substantially improving performance for loading and saving data. - Images with specified height and width automatically use
[loading="lazy"]
in the editing area, optimizing the loading time (read more on MDN). This attribute is only applied during editing to enhance the loading efficiency of images, and it does not reflect in the final data output.
We are greatly satisfied with the improved editor loading times. At the same time, we acknowledge some other problematic areas, and we will keep delivering more performance-related improvements in the future.