Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@ckeditor/ckeditor5-table
Advanced tools
@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.
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')
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 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 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.
This package implements table support for CKEditor 5.
Check out the demo in the table feature guide.
See the @ckeditor/ckeditor5-table
package page in CKEditor 5 documentation.
npm install ckeditor5
Licensed under the GPL, LGPL and MPL licenses, at your choice. For full details about the license, please check the LICENSE.md
file or https://ckeditor.com/legal/ckeditor-oss-license.
FAQs
Table feature for CKEditor 5.
We found that @ckeditor/ckeditor5-table demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.