
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@coolbytes/editorjs-table
Advanced tools
This is a clone of this Editor.js block tool. It fixes the default withHeadings issue.

Using npm
npm install @coolbytes/editorjs-table
Using yarn
yarn add @coolbytes/editorjs-table
Include it in the tools property of Editor.js config:
const editor = new EditorJS({
tools: {
table: Table
}
});
Or init the Table tool with additional settings
const editor = new EditorJS({
tools: {
table: {
class: Table,
inlineToolbar: true,
config: {
rows: 2,
cols: 3,
},
},
},
});
| Field | Type | Description |
|---|---|---|
rows | number | initial number of rows. 2 by default |
cols | number | initial number of columns. 2 by default |
withHeadings | boolean | toggle table headings. false by default |
This Tool returns data in the following format
| Field | Type | Description |
|---|---|---|
withHeadings | boolean | Uses the first line as headings |
content | string[][] | two-dimensional array with table contents |
Example:
{
"time": 1721500689337,
"blocks": [
{
"id": "XXVTfnMlcE",
"type": "table",
"data": {
"withHeadings": true,
"content": [
[ "Kine", "Pigs", "Chicken" ],
[ "1 pcs", "3 pcs", "12 pcs" ],
[ "100$", "200$", "150$" ]
]
}
}
],
"version": "2.30.2"
}
FAQs
Table block tool for Editor.js
The npm package @coolbytes/editorjs-table receives a total of 1 weekly downloads. As such, @coolbytes/editorjs-table popularity was classified as not popular.
We found that @coolbytes/editorjs-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.