Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/7845

Vanessa9f4a182b3915
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index db371bdbbb..7ba9ae9ca9 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -554,6 +554,7 @@ ${unicode2Emoji(emoji.unicode, true)}</button>`;
});
return;
} else if (value === Constants.ZWSP + 5) {
+ range.deleteContents();
AIChat(protyle, nodeElement);
return;
} else if (Constants.INLINE_TYPE.includes(value)) {