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: hhttps://github.com/siyuan-note/siyuan/issues/16139
Vanessa9dff1187e6b0
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex afc0df49e1..b061cf95e6 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -291,7 +291,7 @@ export class WYSIWYG {selectElements[0].parentElement.classList.contains("list") && // 反链复制列表项 https://github.com/siyuan-note/siyuan/issues/6555selectElements[0].parentElement.childElementCount - 1 === selectElements.length) {const hasNoLiElement = selectElements.find(item => {- if (!selectElements[0].contains(item)) {+ if (!selectElements[0].parentElement.contains(item)) {return true;}});@@ -1814,7 +1814,7 @@ export class WYSIWYG {selectElements[0].parentElement.classList.contains("list") && // 反链复制列表项 https://github.com/siyuan-note/siyuan/issues/6555selectElements[0].parentElement.childElementCount - 1 === selectElements.length) {const hasNoLiElement = selectElements.find(item => {- if (!selectElements[0].contains(item)) {+ if (!selectElements[0].parentElement.contains(item)) {return true;}});