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/5208
Vanessaa9651ad07ea2
diff --git a/app/src/protyle/wysiwyg/list.ts b/app/src/protyle/wysiwyg/list.tsindex 5df64baa12..d45802dc6c 100644--- a/app/src/protyle/wysiwyg/list.ts+++ b/app/src/protyle/wysiwyg/list.ts@@ -249,7 +249,7 @@ export const breakList = (protyle: IProtyle, blockElement: Element, range: Rangeaction: "insert",data: listItemElement.parentElement.outerHTML,previousID: listItemElement.parentElement.previousElementSibling?.getAttribute("data-node-id"),- parentID: listItemElement.parentElement.parentElement.getAttribute("data-node-id")+ parentID: listItemElement.parentElement.parentElement.getAttribute("data-node-id") || protyle.block.rootID});listItemElement.parentElement.remove();doOperations.push({