add table headers

This commit is contained in:
Hans Pagel
2021-01-22 00:16:58 +01:00
parent 8e78b95213
commit c656517b85
8 changed files with 122 additions and 9 deletions

View File

@@ -13,8 +13,7 @@ export const TableRow = Node.create({
HTMLAttributes: {},
},
// content: '(tableCell | tableHeader)*',
content: 'table_cell*',
content: '(table_cell | table_header)*',
tableRole: 'row',