From b3d4d43c704f3d2e9b05199689f68ce59bfe5195 Mon Sep 17 00:00:00 2001 From: Marc L Date: Thu, 29 Aug 2024 11:13:08 +0100 Subject: [PATCH] fix: reduce command priority on Nested Editor update command within Table Cells (#575) Fixes #570 --- src/plugins/table/TableEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/table/TableEditor.tsx b/src/plugins/table/TableEditor.tsx index 14502cb7..48351c6e 100644 --- a/src/plugins/table/TableEditor.tsx +++ b/src/plugins/table/TableEditor.tsx @@ -453,7 +453,7 @@ const CellEditor: React.FC = ({ focus, setActiveCell, parentEditor, l saveAndFocus(null) return true }, - COMMAND_PRIORITY_CRITICAL + COMMAND_PRIORITY_EDITOR ) ) }, [colIndex, editor, rootEditor, rowIndex, saveAndFocus, setActiveCell])