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/14642
Vanessaa82693f90be2
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 21e6a53f81..b11c1c0566 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -2334,7 +2334,9 @@ export class WYSIWYG {/// #if MOBILE// https://github.com/siyuan-note/siyuan/issues/10513const virtualRefElement = hasClosestByAttribute(event.target, "data-type", "virtual-block-ref");- if (virtualRefElement) {+ if (virtualRefElement && range.toString() === "") {+ event.stopPropagation();+ event.preventDefault();const blockElement = hasClosestBlock(virtualRefElement);if (blockElement) {fetchPost("/api/block/getBlockDefIDsByRefText", {