This commit is contained in:
Vanessa 2022-05-30 11:17:32 +08:00
parent 1cdc80e1bd
commit a3aa3d537b
2 changed files with 2 additions and 2 deletions

View file

@ -886,7 +886,7 @@ export const tableMenu = (protyle: IProtyle, nodeElement: Element, cellElement:
type: "separator"
});
}
if (!hasNone || (hasNone && !hasRowSpan && hasColSpan)) {
if ((!hasNone && !hasRowSpan) || (hasNone && !hasRowSpan && hasColSpan)) {
menus.push({
icon: "iconDeleteRow",
label: window.siyuan.languages["delete-row"],