init table, table-row and table-cell

This commit is contained in:
Hans Pagel
2021-01-20 23:42:01 +01:00
parent 7efc1a3ac3
commit 6a1661cf9f
15 changed files with 244 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { Node } from '@tiptap/core'
export const TableCell = Node.create({
name: 'tableCell',
})
declare module '@tiptap/core' {
interface AllExtensions {
TableCell: typeof TableCell,
}
}