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

Vanessa52efb5630a8b
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index e4c15efad9..ef60478ea8 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -653,7 +653,9 @@ ${genHintItemHTML(item)}
blockRender(protyle, protyle.wysiwyg.element);
return;
} else if (this.splitChar === "/" || this.splitChar === "、") {
- if (value === "((" || value === "{{") {
+ if (protyle.lite) {
+ insertHTML(value, protyle);
+ } else if (value === "((" || value === "{{") {
this.enableExtend = true;
if (value === "((") {
hintRef("", protyle, "hint");