mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 00:27:49 +08:00
24 lines
980 B
Markdown
24 lines
980 B
Markdown
---
|
||
description: "It’s useless without all its other table friends: the table cell."
|
||
icon: checkbox-blank-line
|
||
---
|
||
|
||
# TableCell
|
||
[![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)
|
||
|
||
Don’t try to use tables without table cells. It won’t be fun.
|
||
|
||
## Installation
|
||
```bash
|
||
npm install @tiptap/extension-table @tiptap/extension-table-row @tiptap/extension-table-header @tiptap/extension-table-cell
|
||
```
|
||
|
||
This extension requires the [`Table`](/api/nodes/table), [`TableRow`](/api/nodes/table-row) and [`TableHeader`](/api/nodes/table-header) nodes.
|
||
|
||
## Source code
|
||
[packages/extension-table-cell/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-table-cell/)
|
||
|
||
## Usage
|
||
https://embed.tiptap.dev/preview/Nodes/Table
|