2020-12-04 00:05:22 +08:00
|
|
|
# TableCell
|
2021-01-25 19:04:08 +08:00
|
|
|
[![Version](https://img.shields.io/npm/v/@tiptap/extension-table-cell.svg?label=version)](https://www.npmjs.com/package/@tiptap/extension-table-cell)
|
|
|
|
[![Downloads](https://img.shields.io/npm/dm/@tiptap/extension-table-cell.svg)](https://npmcharts.com/compare/@tiptap/extension-table-cell?minimal=true)
|
2020-12-04 00:05:22 +08:00
|
|
|
|
2021-02-05 18:24:53 +08:00
|
|
|
TODO
|
2021-01-08 07:21:07 +08:00
|
|
|
|
2021-01-25 19:04:08 +08:00
|
|
|
## Installation
|
|
|
|
::: warning Use with Table, TableRow and TableHeader
|
|
|
|
This extension requires the [`Table`](/api/nodes/table), [`TableRow`](/api/nodes/table-row) and [`TableHeader`](/api/nodes/table-header) nodes.
|
|
|
|
:::
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# with npm
|
|
|
|
npm install @tiptap/extension-table @tiptap/extension-table-row @tiptap/extension-table-header @tiptap/extension-table-cell
|
|
|
|
|
|
|
|
# with Yarn
|
|
|
|
yarn add @tiptap/extension-table @tiptap/extension-table-row @tiptap/extension-table-header @tiptap/extension-table-cell
|
|
|
|
```
|
|
|
|
|
|
|
|
## Source code
|
|
|
|
[packages/extension-table-cell/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-table-cell/)
|
2021-01-08 07:21:07 +08:00
|
|
|
|
2021-01-25 19:04:08 +08:00
|
|
|
## Usage
|
|
|
|
<demo name="Nodes/Table" />
|