From 69354941524cff9872799c47d2fbc503a1bbe6c1 Mon Sep 17 00:00:00 2001 From: silver Date: Thu, 27 Aug 2026 08:14:13 +0200 Subject: [PATCH] fix(Table): return Tab and Shift-Tab handler results to mark the events as handled Signed-off-by: silver Assisted-by: ClaudeCode:claude-fable-5 --- src/nodes/Table/Table.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/nodes/Table/Table.js b/src/nodes/Table/Table.js index b58bff18a85..70cd44edcc3 100644 --- a/src/nodes/Table/Table.js +++ b/src/nodes/Table/Table.js @@ -347,8 +347,10 @@ export default Table.extend({ ) { return true } - this.editor.commands.goToNextCell() + return ( + this.editor.commands.goToNextCell() || this.editor.commands.leaveTable() + ) }, /** * inside a table cell @@ -365,7 +367,7 @@ export default Table.extend({ ) { return true } - this.editor.commands.goToPreviousCell() + return this.editor.commands.goToPreviousCell() }, } },