Skip to content

Commit

Permalink
Merge pull request #5465 from nextcloud/backport/5461/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(Tables): require at least one cell in the header
  • Loading branch information
mejo- committed Mar 12, 2024
2 parents 4bb5023 + 146db14 commit 76d1168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/Table/TableHeadRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import TableRow from './TableRow.js'

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

toMarkdown(state, node) {
Expand Down

0 comments on commit 76d1168

Please sign in to comment.