mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 19:30:16 +01:00
This commit is contained in:
parent
1cdc80e1bd
commit
a3aa3d537b
2 changed files with 2 additions and 2 deletions
|
|
@ -576,7 +576,7 @@ export const fixTable = (protyle: IProtyle, event: KeyboardEvent, range: Range)
|
|||
|
||||
// 删除当前行
|
||||
if (matchHotKey(window.siyuan.config.keymap.editor.table["delete-row"].custom, event)) {
|
||||
if (!hasNone || (hasNone && !hasRowSpan && hasColSpan)) {
|
||||
if ((!hasNone && !hasRowSpan) || (hasNone && !hasRowSpan && hasColSpan)) {
|
||||
deleteRow(protyle, range, cellElement, nodeElement);
|
||||
}
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue