TableRow extension
What’s a table without rows? Add this extension to make your tables usable.
Install
npm install @tiptap/extension-table
This extension requires the Table
extension to be installed.
This extension is installed by default with the TableKit
extension, so you don’t need to install it separately.
import { Editor } from '@tiptap/core'
import { TableKit } from '@tiptap/extension-table'
new Editor({
extensions: [TableKit],
})
Source code
Minimal Install
import { Editor } from '@tiptap/core'
import { TableRow } from '@tiptap/extension-table/row'
new Editor({
extensions: [TableRow],
})