diff options
Diffstat (limited to 'src/nodes/TableHead.js')
-rw-r--r-- | src/nodes/TableHead.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nodes/TableHead.js b/src/nodes/TableHead.js index 0cd7af788..e5acdc269 100644 --- a/src/nodes/TableHead.js +++ b/src/nodes/TableHead.js @@ -3,6 +3,7 @@ import { Node, mergeAttributes } from '@tiptap/core' const tableHeadRow = Node.create({ name: 'tableHeadRow', content: 'tableHeader*', + tableRole: 'headRow', addOptions() { return { @@ -31,6 +32,7 @@ const tableHeadRow = Node.create({ export default Node.create({ name: 'tableHead', content: 'tableHeadRow', + tableRole: 'head', addOptions() { return { |