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/9237
Vanessa04c86bc6b203
diff --git a/app/src/protyle/wysiwyg/list.ts b/app/src/protyle/wysiwyg/list.tsindex 84922ce3e7..177bbc6eb1 100644--- a/app/src/protyle/wysiwyg/list.ts+++ b/app/src/protyle/wysiwyg/list.ts@@ -651,7 +651,8 @@ export const listOutdent = (protyle: IProtyle, liItemElements: Element[], range:action: "insert",id: parentLiItemElement.getAttribute("data-node-id"),data: parentLiItemElement.outerHTML,- previousID: parentLiItemElement.previousElementSibling.getAttribute("data-node-id")+ previousID: parentLiItemElement.previousElementSibling?.getAttribute("data-node-id"),+ parentID: parentLiItemElement.parentElement.getAttribute("data-node-id"),});parentLiItemElement.remove();} else if (liElement.childElementCount === 1) {