import Table from "@canner/slate-icon-table";
- typeTable: Block type name. Default:
table
- options: Options for https://github.com/GitbookIO/slate-edit-table
import { TablePlugin } from "@canner/slate-icon-table";
// this will add render method for table
const plugins = [TablePlugin(options)];
- typeTable: Table type name. Default:
table
- typeRow: Table row type name. Default:
table_row
- typeCell: Table cell type name. Default:
table_cell