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/6511
Vanessa3ea410ed3813
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex fa5f512393..193dc9bdf1 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -1928,6 +1928,10 @@ export class WYSIWYG {selectElements.forEach(item => {item.classList.add("protyle-wysiwyg--select");ids.push(item.getAttribute("data-node-id"));+ // 清除选中的子块 https://ld246.com/article/1667826582251+ item.querySelectorAll(".protyle-wysiwyg--select").forEach(subItem => {+ subItem.classList.remove("protyle-wysiwyg--select");+ })});countBlockWord(ids);if (toDown) {