Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/5490

Vanessa8a0659e1f4f2
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index c8972c6846..647ea0848d 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -510,6 +510,7 @@ ${unicode2Emoji(emoji.unicode, true)}</button>`;
});
return;
} else if (Constants.INLINE_TYPE.includes(value)) {
+ focusByRange(range);
protyle.toolbar.range = range;
protyle.toolbar.setInlineMark(protyle, value, "add");
return;