From aa8902f5b94db213b2bef5bfd7d06c5e264f8c71 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 15 Jul 2025 18:55:29 +0300 Subject: [PATCH] fix(client): popup not displayed for existing attributes (closes #5718) --- apps/client/src/widgets/attribute_widgets/attribute_editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/attribute_widgets/attribute_editor.ts b/apps/client/src/widgets/attribute_widgets/attribute_editor.ts index 08bfefac3..3e97723a5 100644 --- a/apps/client/src/widgets/attribute_widgets/attribute_editor.ts +++ b/apps/client/src/widgets/attribute_widgets/attribute_editor.ts @@ -426,7 +426,7 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget implem curNode = curNode.previousSibling; if ((curNode as ModelElement).name === "reference") { - clickIndex += (curNode.getAttribute("notePath") as string).length + 1; + clickIndex += (curNode.getAttribute("href") as string).length + 1; } else if ("data" in curNode) { clickIndex += (curNode.data as string).length; }