add table headers

This commit is contained in:
Hans Pagel
2021-01-22 00:16:58 +01:00
parent c4f35911a0
commit 05487ea82f
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',