Skip to content

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

:bug: Prevent obsolete slash hints from reopening https://github.com/siyuan-note/siyuan/issues/18655

Daniel07957f319257
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index 2fa8e4e896..d493bc1db8 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -286,6 +286,7 @@ export class Hint {
if (this.enableSlash && !isMobile() && blockElement && !isInEmbedBlock(blockElement)) {
const slashData = hintSlash(key, protyle);
if (slashData.length === 0) {
+ this.enableExtend = false;
this.genHTML(slashData, protyle, true, "hint");
return;
}