Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import Table from './table';
import * as $ from './utils/dom';

import { IconTable, IconTableWithHeadings, IconTableWithoutHeadings, IconStretch, IconCollapse } from '@codexteam/icons';
/**
* @typedef {import('@editorjs/editorjs').BlockAPI} BlockAPI
*/
Comment on lines +5 to +7
/**
* @typedef {object} TableData - configuration that the user can set for the table
* @property {number} rows - number of rows in the table
Expand All @@ -25,6 +28,7 @@ import { IconTable, IconTableWithHeadings, IconTableWithoutHeadings, IconStretch
* @property {TableConfig} config - user config for Tool
* @property {object} api - Editor.js API
* @property {boolean} readOnly - read-only mode flag
* @property {BlockAPI} block - interact with current block
*/
/**
* @typedef {import('@editorjs/editorjs').PasteEvent} PasteEvent
Expand Down