mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-21 07:18:05 +08:00
24 lines
967 B
Markdown
24 lines
967 B
Markdown
---
|
||
description: "The perfect middle ground between a table and a table cell."
|
||
icon: table-2
|
||
---
|
||
|
||
# TableRow
|
||
[![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)
|
||
|
||
What’s a table without rows? Add this extension to make your tables usable.
|
||
|
||
## 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), [`TableHeader`](/api/nodes/table-header) and [`TableCell`](/api/nodes/table-cell) nodes.
|
||
|
||
## Source code
|
||
[packages/extension-table-row/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-table-row/)
|
||
|
||
## Usage
|
||
https://embed.tiptap.dev/preview/Nodes/Table
|