An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/16253
Vanessa31b98aaaa038
diff --git a/app/src/protyle/wysiwyg/list.ts b/app/src/protyle/wysiwyg/list.tsindex 9141799165..9257fdf47c 100644--- a/app/src/protyle/wysiwyg/list.ts+++ b/app/src/protyle/wysiwyg/list.ts@@ -276,7 +276,7 @@ export const breakList = (protyle: IProtyle, blockElement: Element, range: Rangeaction: "delete"});- Array.from(listItemElement.children).reverse().forEach((item) => {+ Array.from(listItemElement.children).reverse().forEach((item, index) => {if (!item.classList.contains("protyle-action") && !item.classList.contains("protyle-attr")) {doOperations.push({id: item.getAttribute("data-node-id"),@@ -286,7 +286,8 @@ export const breakList = (protyle: IProtyle, blockElement: Element, range: RangeundoOperations.push({id: item.getAttribute("data-node-id"),action: "move",- parentID: listItemId+ parentID: listItemId,+ data: index === listItemElement.childElementCount - 2 ? "focus" : null});listItemElement.parentElement.after(item);}