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: fix https://github.com/siyuan-note/siyuan/issues/7722
Vanessa9177e4240859
diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.tsindex 3e23cda1d4..8979aef125 100644--- a/app/src/protyle/wysiwyg/remove.ts+++ b/app/src/protyle/wysiwyg/remove.ts@@ -14,6 +14,7 @@ import {setFold, zoomOut} from "../../menus/protyle";import {preventScroll} from "../scroll/preventScroll";import {hideElements} from "../ui/hideElements";import {Constants} from "../../constants";+import {scrollCenter} from "../../util/highlightById";const removeLi = (protyle: IProtyle, blockElement: Element, range: Range) => {if (!blockElement.parentElement.previousElementSibling && blockElement.parentElement.nextElementSibling && blockElement.parentElement.nextElementSibling.classList.contains("protyle-attr")) {@@ -262,6 +263,7 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran}focusBlock(sideElement, undefined, false);+ scrollCenter(protyle, sideElement);if (listElement) {inserts.push({action: "update",