An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessaf2f5f7af0cdc
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.tsindex 078822e77c..f4bafb9ce4 100644--- a/app/src/protyle/hint/index.ts+++ b/app/src/protyle/hint/index.ts@@ -901,9 +901,9 @@ ${genHintItemHTML(item)}let currentLastIndex = currentLineValue.lastIndexOf(item.key);// https://ld246.com/article/1701670704754if (Constants.BLOCK_HINT_KEYS.includes(item.key) && currentLastIndex > -1) {- const thirdLastIndex = currentLineValue.lastIndexOf(item.key + item.key.substring(0, 1))+ const thirdLastIndex = currentLineValue.lastIndexOf(item.key + item.key.substring(0, 1));if (thirdLastIndex > -1) {- currentLastIndex = Math.min(currentLastIndex, currentLineValue.lastIndexOf(item.key + item.key.substring(0, 1)))+ currentLastIndex = Math.min(currentLastIndex, currentLineValue.lastIndexOf(item.key + item.key.substring(0, 1)));}}if (this.lastIndex < currentLastIndex) {