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/pull/16314
Vanessa5f161cd4cef8
diff --git a/app/src/protyle/wysiwyg/list.ts b/app/src/protyle/wysiwyg/list.tsindex c054af295f..b4c7600efa 100644--- a/app/src/protyle/wysiwyg/list.ts+++ b/app/src/protyle/wysiwyg/list.ts@@ -7,6 +7,7 @@ import {moveToPrevious, removeBlock} from "./remove";import {hasClosestByClassName, isBlockElement} from "../util/hasClosest";import {getParentBlock} from "./getBlock";import {setFold} from "../util/blockFold";+import {scrollCenter} from "../../util/highlightById";const getLastChildBlock = (element: Element) => {if (!element || !element.lastElementChild) {@@ -98,6 +99,7 @@ export const addSubList = (protyle: IProtyle, nodeElement: Element, range: Rangeid,}]);focusByWbr(lastElement.nextElementSibling, range);+ scrollCenter(protyle, lastElement.nextElementSibling);return true;}@@ -120,6 +122,7 @@ export const addSubList = (protyle: IProtyle, nodeElement: Element, range: Rangeid,}]);focusByWbr(newListElement, range);+ scrollCenter(protyle, newListElement);return true;};