Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:white_check_mark: Load pan bounds in mind map DOM regression https://github.com/siyuan-note/siyuan/issues/19833

Daniel1d9b1ffa47c7
diff --git a/app/src/protyle/render/listMindmap/model.test.ts b/app/src/protyle/render/listMindmap/model.test.ts
index d14cd719de..0b4df69431 100644
--- a/app/src/protyle/render/listMindmap/model.test.ts
+++ b/app/src/protyle/render/listMindmap/model.test.ts
@@ -2881,7 +2881,8 @@ test("list mindmap mutations preserve block data in the real DOM and Lute", {
const source = tabsSource + compile(path.join(__dirname, "../../wysiwyg/tabsList.ts")) +
compile(path.join(__dirname, "../av/richTextValue.ts")) + compile(path.join(__dirname, "../../wysiwyg/listContext.ts")) +
compile(path.join(__dirname, "model.ts")) + compile(path.join(__dirname, "fold.ts")) +
- compile(path.join(__dirname, "routing.ts")) + compile(path.join(__dirname, "view.ts")) +
+ compile(path.join(__dirname, "routing.ts")) + compile(path.join(__dirname, "pan.ts")) +
+ compile(path.join(__dirname, "view.ts")) +
compile(path.join(__dirname, "legacy.ts")) + compile(path.join(__dirname, "migrate.ts")) +
compile(path.join(__dirname, "create.ts"));
const css = require("sass").compile(path.resolve(__dirname, "../../../assets/scss/business/_block.scss")).css +