mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
change table extension names to lowerCamelCase
This commit is contained in:
parent
719eda2e5b
commit
aef9d1ca41
@ -6,7 +6,7 @@ export interface TableCellOptions {
|
||||
},
|
||||
}
|
||||
export const TableCell = Node.create({
|
||||
name: 'table_cell',
|
||||
name: 'tableCell',
|
||||
|
||||
defaultOptions: <TableCellOptions>{
|
||||
HTMLAttributes: {},
|
||||
|
@ -6,7 +6,7 @@ export interface TableHeaderOptions {
|
||||
},
|
||||
}
|
||||
export const TableHeader = Node.create({
|
||||
name: 'table_header',
|
||||
name: 'tableHeader',
|
||||
|
||||
defaultOptions: <TableHeaderOptions>{
|
||||
HTMLAttributes: {},
|
||||
|
@ -7,13 +7,13 @@ export interface TableRowOptions {
|
||||
}
|
||||
|
||||
export const TableRow = Node.create({
|
||||
name: 'table_row',
|
||||
name: 'tableRow',
|
||||
|
||||
defaultOptions: <TableRowOptions>{
|
||||
HTMLAttributes: {},
|
||||
},
|
||||
|
||||
content: '(table_cell | table_header)*',
|
||||
content: '(tableCell | tableHeader)*',
|
||||
|
||||
tableRole: 'row',
|
||||
|
||||
|
@ -39,7 +39,7 @@ export const Table = Node.create({
|
||||
resizable: false,
|
||||
},
|
||||
|
||||
content: 'table_row+',
|
||||
content: 'tableRow+',
|
||||
|
||||
tableRole: 'table',
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user