init table, table-row and table-cell
This commit is contained in:
5
packages/extension-table-row/src/index.ts
Normal file
5
packages/extension-table-row/src/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { TableRow } from './table-row'
|
||||
|
||||
export * from './table-row'
|
||||
|
||||
export default TableRow
|
||||
11
packages/extension-table-row/src/table-row.ts
Normal file
11
packages/extension-table-row/src/table-row.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Node } from '@tiptap/core'
|
||||
|
||||
export const TableRow = Node.create({
|
||||
name: 'tableRow',
|
||||
})
|
||||
|
||||
declare module '@tiptap/core' {
|
||||
interface AllExtensions {
|
||||
TableRow: typeof TableRow,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user