Clarify table header documentation
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
[](https://www.npmjs.com/package/@tiptap/extension-table-header)
|
[](https://www.npmjs.com/package/@tiptap/extension-table-header)
|
||||||
[](https://npmcharts.com/compare/@tiptap/extension-table-header?minimal=true)
|
[](https://npmcharts.com/compare/@tiptap/extension-table-header?minimal=true)
|
||||||
|
|
||||||
Table headers are actually. But come on, you want them, don’t you? If you don’t want them, update the `content` attribute of the [`TableRow`](/api/nodes/table-row) extension, like this:
|
Table headers are optional. But come on, you want them, don’t you? If you don’t want them, update the `content` attribute of the [`TableRow`](/api/nodes/table-row) extension, like this:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// Table rows without table headers
|
// Table rows without table headers
|
||||||
|
|||||||
Reference in New Issue
Block a user