From 3204156c7465a0ccefca80be730b7733a941eafc Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 30 May 2022 11:18:51 +0800 Subject: [PATCH] :bulb: https://github.com/siyuan-note/siyuan/issues/5045 --- app/src/protyle/util/table.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/util/table.ts b/app/src/protyle/util/table.ts index 5b92eec95..e7a53b6c2 100644 --- a/app/src/protyle/util/table.ts +++ b/app/src/protyle/util/table.ts @@ -576,7 +576,8 @@ export const fixTable = (protyle: IProtyle, event: KeyboardEvent, range: Range) // 删除当前行 if (matchHotKey(window.siyuan.config.keymap.editor.table["delete-row"].custom, event)) { - if ((!hasNone && !hasRowSpan) || (hasNone && !hasRowSpan && hasColSpan)) { + if ((!hasNone && !hasRowSpan) || //https://github.com/siyuan-note/siyuan/issues/5045 + (hasNone && !hasRowSpan && hasColSpan)) { deleteRow(protyle, range, cellElement, nodeElement); } event.preventDefault();