Skip to content

Commit 5c4b9f3

Browse files
authored
Merge pull request #9379 from nextcloud/backport/9109/stable34
[stable34] fix(Table): return Tab and Shift-Tab handler results to mark the even…
2 parents bdc72a2 + 6935494 commit 5c4b9f3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/nodes/Table/Table.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,10 @@ export default Table.extend({
347347
) {
348348
return true
349349
}
350-
this.editor.commands.goToNextCell()
350+
return (
351+
this.editor.commands.goToNextCell()
351352
|| this.editor.commands.leaveTable()
353+
)
352354
},
353355
/**
354356
* <Tab> inside a table cell
@@ -365,7 +367,7 @@ export default Table.extend({
365367
) {
366368
return true
367369
}
368-
this.editor.commands.goToPreviousCell()
370+
return this.editor.commands.goToPreviousCell()
369371
},
370372
}
371373
},

0 commit comments

Comments
 (0)