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,5 @@
import { Table } from './table'
export * from './table'
export default Table

View File

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