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/6419
Vanessae2b28b5052d7
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 3e711043d8..68bf8322cc 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -1023,6 +1023,7 @@ export class WYSIWYG {} else if (selectImgElement) {tempElement.append(selectImgElement);} else if (range.startContainer.nodeType === 3 && range.startContainer.parentElement.tagName === "SPAN" &&+ range.startContainer.parentElement.getAttribute("data-type") &&range.startContainer.parentElement.isSameNode(range.endContainer.parentElement)) {// 剪切粗体等字体中的一部分const spanElement = range.startContainer.parentElement;