Adding Table Support
This commit is contained in:
14
packages/tiptap-extensions/src/nodes/TableRow.js
Normal file
14
packages/tiptap-extensions/src/nodes/TableRow.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Node } from 'tiptap'
|
||||
import TableNodes from './TableNodes'
|
||||
|
||||
export default class TableRow extends Node {
|
||||
|
||||
get name() {
|
||||
return 'table_row'
|
||||
}
|
||||
|
||||
get schema() {
|
||||
return TableNodes.table_row
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user