Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodes/TableHead.js')
-rw-r--r--src/nodes/TableHead.js2
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 {