From e46c998a6b6077bbb3aabb172ca9437e3b17c445 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 7 May 2025 17:28:05 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14739 --- app/src/protyle/hint/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts index 72adbf4cf..65f686efc 100644 --- a/app/src/protyle/hint/index.ts +++ b/app/src/protyle/hint/index.ts @@ -555,6 +555,7 @@ ${genHintItemHTML(item)} type: "id", color: `${response.data}${Constants.ZWSP}${refIsS ? "s" : "d"}${Constants.ZWSP}${(refIsS ? fileNames[0] : realFileName).substring(0, window.siyuan.config.editor.blockRefDynamicAnchorTextMaxLen)}` }); + protyle.toolbar.range.collapse(false); }); }); return; @@ -588,6 +589,7 @@ ${genHintItemHTML(item)} type: "id", color: `${tempElement.getAttribute("data-id")}${Constants.ZWSP}${tempElement.getAttribute("data-subtype")}${Constants.ZWSP}${tempElement.textContent}` }); + protyle.toolbar.range.collapse(false); return; } else if (this.splitChar === ":") { addEmoji(value);