From 80c1b0350d4a3a4e6d06e923b6b43c91334a6ab3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 17 Apr 2023 22:17:47 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/8009 --- app/src/protyle/hint/extend.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts index 2ddb7a9fb..5cab93408 100644 --- a/app/src/protyle/hint/extend.ts +++ b/app/src/protyle/hint/extend.ts @@ -307,6 +307,7 @@ export const hintRef = (key: string, protyle: IProtyle, isQuick = false): IHintD id: nodeElement ? nodeElement.getAttribute("data-node-id") : protyle.block.parentID, beforeLen: Math.floor((Math.max(protyle.element.clientWidth / 2, 320) - 58) / 28.8), rootID: protyle.block.rootID, + onlyDoc: ["[[", "【【"].includes(protyle.hint.splitChar) }, (response) => { const dataList: IHintData[] = []; if (response.data.newDoc) {