2021-10-14 06:13:50 +08:00
|
|
|
|
---
|
|
|
|
|
description: "The perfect middle ground between a table and a table cell."
|
2021-10-16 04:48:57 +08:00
|
|
|
|
icon: table-2
|
2021-10-14 06:13:50 +08:00
|
|
|
|
---
|
|
|
|
|
|
2020-12-04 00:05:22 +08:00
|
|
|
|
# TableRow
|
2021-01-25 19:04:08 +08:00
|
|
|
|
[![Version](https://img.shields.io/npm/v/@tiptap/extension-table-row.svg?label=version)](https://www.npmjs.com/package/@tiptap/extension-table-row)
|
|
|
|
|
[![Downloads](https://img.shields.io/npm/dm/@tiptap/extension-table-row.svg)](https://npmcharts.com/compare/@tiptap/extension-table-row?minimal=true)
|
2020-12-04 00:05:22 +08:00
|
|
|
|
|
2021-02-09 00:39:50 +08:00
|
|
|
|
What’s a table without rows? Add this extension to make your tables usable.
|
2021-01-08 07:21:07 +08:00
|
|
|
|
|
2021-01-25 19:04:08 +08:00
|
|
|
|
## Installation
|
|
|
|
|
```bash
|
|
|
|
|
npm install @tiptap/extension-table @tiptap/extension-table-row @tiptap/extension-table-header @tiptap/extension-table-cell
|
|
|
|
|
```
|
|
|
|
|
|
2021-02-12 22:02:40 +08:00
|
|
|
|
This extension requires the [`Table`](/api/nodes/table), [`TableHeader`](/api/nodes/table-header) and [`TableCell`](/api/nodes/table-cell) nodes.
|
|
|
|
|
|
2021-01-25 19:04:08 +08:00
|
|
|
|
## Source code
|
2021-04-21 21:31:11 +08:00
|
|
|
|
[packages/extension-table-row/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-table-row/)
|
2021-01-25 19:04:08 +08:00
|
|
|
|
|
|
|
|
|
## Usage
|
2021-10-19 00:01:47 +08:00
|
|
|
|
https://embed.tiptap.dev/preview/Nodes/Table
|