An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/18813
Vanessa5de6c8fc69b8
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.tsindex 308eed3af2..c7dc0d08ce 100644--- a/app/src/protyle/hint/index.ts+++ b/app/src/protyle/hint/index.ts@@ -280,12 +280,14 @@ export class Hint {if (this.splitChar === "/" || this.splitChar === "、") {clearTimeout(this.timeId);if (protyle.lite) {- protyle.options.hint.extend.find((item) => {- if (item.key === "/" && item.hint) {- item.hint(key, protyle, "hint");- return true;- }- });+ if (this.enableSlash) {+ protyle.options.hint.extend.find((item) => {+ if (item.key === "/" && item.hint) {+ item.hint(key, protyle, "hint");+ return true;+ }+ });+ }} else {const blockElement = hasClosestBlock(protyle.toolbar.range.startContainer);if (this.enableSlash && !isMobile() && blockElement && !isInEmbedBlock(blockElement)) {