An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/7586
Vanessab1ab6ab69a1b
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex c7119c3326..b90df8cf44 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -139,6 +139,7 @@ export class WYSIWYG {if (// 表格行内公式之前无法插入文字 https://github.com/siyuan-note/siyuan/issues/3908inlineElement.tagName === "SPAN" &&inlineElement.textContent !== inputData &&+ !currentTypes.includes("search-mark") && // https://github.com/siyuan-note/siyuan/issues/7586range.toString() === "" && range.startContainer.nodeType === 3 &&(currentTypes.includes("inline-memo") || currentTypes.includes("text") || currentTypes.includes("block-ref") || currentTypes.includes("file-annotation-ref") || currentTypes.includes("a")) &&!hasNextSibling(range.startContainer) && range.startContainer.textContent.length === range.startOffset &&