Skip to content

Commit

Permalink
fix(Tables): require at least one cell in the header
Browse files Browse the repository at this point in the history
Fixes #4793.

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud authored and backportbot[bot] committed Mar 12, 2024
1 parent eb1c2d4 commit f3991a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/Table/TableHeadRow.js
Expand Up @@ -2,7 +2,7 @@ import TableRow from './TableRow.js'

export default TableRow.extend({
name: 'tableHeadRow',
content: 'tableHeader*',
content: 'tableHeader+',

toMarkdown(state, node) {
state.write('|')
Expand Down

0 comments on commit f3991a4

Please sign in to comment.