This commit is contained in:
Vanessa 2025-08-10 10:20:10 +08:00
parent 207eb6b086
commit 86e4228a3c

View file

@ -2297,7 +2297,7 @@ export class Gutter {
let dataNodeId = nodeElement.getAttribute("data-node-id");
if (type === "NodeAttributeView" && target) {
const rowElement = hasClosestByClassName(target, "av__row");
if (rowElement && !rowElement.classList.contains("av__row--header")) {
if (rowElement && !rowElement.classList.contains("av__row--header") && rowElement.dataset.id) {
element = rowElement;
const bodyElement = hasClosestByClassName(rowElement, "av__body") as HTMLElement;
let iconAriaLabel = isMac() ? window.siyuan.languages.rowTip : window.siyuan.languages.rowTip.replace("⇧", "Shift+");