Socket
Book a DemoInstallSign in
Socket

@ckeditor/ckeditor5-table

Package Overview
Dependencies
Maintainers
1
Versions
1133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-table

Table feature for CKEditor 5.

0.0.0-nightly-20250201.0
Source
npmnpm
Version published
Weekly downloads
670K
5.53%
Maintainers
1
Weekly downloads
 
Created

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

Keywords

ckeditor

FAQs

Package last updated on 01 Feb 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.