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/11346

Vanessa59f6cd50ac41
diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts
index 1d2e40d99a..d50a8c5d53 100644
--- a/app/src/protyle/hint/extend.ts
+++ b/app/src/protyle/hint/extend.ts
@@ -285,6 +285,9 @@ export const hintSlash = (key: string, protyle: IProtyle) => {
};
export const hintTag = (key: string, protyle: IProtyle): IHintData[] => {
+ if (!window.siyuan.config.editor.markdown.inlineTag) {
+ return [];
+ }
protyle.hint.genLoading(protyle);
fetchPost("/api/search/searchTag", {
k: key,