change table extension names to lowerCamelCase

This commit is contained in:
Hans Pagel 2021-01-22 23:33:08 +01:00
parent 719eda2e5b
commit aef9d1ca41
4 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ export interface TableCellOptions {
},
}
export const TableCell = Node.create({
name: 'table_cell',
name: 'tableCell',
defaultOptions: <TableCellOptions>{
HTMLAttributes: {},

View File

@ -6,7 +6,7 @@ export interface TableHeaderOptions {
},
}
export const TableHeader = Node.create({
name: 'table_header',
name: 'tableHeader',
defaultOptions: <TableHeaderOptions>{
HTMLAttributes: {},

View File

@ -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',

View File

@ -39,7 +39,7 @@ export const Table = Node.create({
resizable: false,
},
content: 'table_row+',
content: 'tableRow+',
tableRole: 'table',