Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/17805

Vanessaea5ac9e7c0a5
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index 32d85c9472..ec75841ce9 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -534,7 +534,7 @@ ${genHintItemHTML(item)}
}
return;
}
- this.enableExtend = false;
+ this.enableExtend = value === "emoji";
let id = "";
if (nodeElement) {
id = nodeElement.getAttribute("data-node-id");
@@ -1065,7 +1065,8 @@ ${genHintItemHTML(item)}
return undefined;
}
// 上一次提示没有结束时不能被其余提示干扰 https://github.com/siyuan-note/siyuan/issues/14324
- if (!this.element.classList.contains("fn__none") && prevSplit && prevSplit !== this.splitChar) {
+ if (!this.element.classList.contains("fn__none") && prevSplit && prevSplit !== this.splitChar &&
+ !(["/", "、"].includes(prevSplit) && this.splitChar === ":")) {
this.splitChar = prevSplit;
this.lastIndex = prevLastIndex;
}