Skip to content

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

:art: Fix folded heading load nodes

Daniel5e0edf6ff017
diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml
index 68de0cabf6..3a95d36322 100644
--- a/.github/workflows/dockerimage.yml
+++ b/.github/workflows/dockerimage.yml
@@ -49,4 +49,4 @@ jobs:
- name: Build the Docker image
run: |
- docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t b3log/siyuan:latest -t b3log/siyuan:v2.11.1 .
\ No newline at end of file
+ docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 -t b3log/siyuan:latest -t b3log/siyuan:v2.11.2 .
\ No newline at end of file
diff --git a/app/appx/AppxManifest.xml b/app/appx/AppxManifest.xml
index 0250d47431..b63a60e2c3 100644
--- a/app/appx/AppxManifest.xml
+++ b/app/appx/AppxManifest.xml
@@ -9,7 +9,7 @@
<Identity Name="89C2A984.SiYuan"
ProcessorArchitecture="x64"
Publisher="CN=087C656E-C1D9-42D8-8807-CED45A74FC0F"
- Version="2.11.1.0"/>
+ Version="2.11.2.0"/>
<Properties>
<DisplayName>SiYuan</DisplayName>
<PublisherDisplayName>云南链滴科技有限公司</PublisherDisplayName>
diff --git a/app/package.json b/app/package.json
index d516a8ec21..682f5c1e90 100644
--- a/app/package.json
+++ b/app/package.json
@@ -1,6 +1,6 @@
{
"name": "SiYuan",
- "version": "2.11.1",
+ "version": "2.11.2",
"description": "Refactor your thinking",
"homepage": "https://b3log.org/siyuan",
"main": "./electron/main.js",
diff --git a/kernel/model/file.go b/kernel/model/file.go
index 3708e12348..c9b4153ce1 100644
--- a/kernel/model/file.go
+++ b/kernel/model/file.go
@@ -725,7 +725,7 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
if "1" == n.IALAttr("heading-fold") {
// 折叠标题下被引用的块无法悬浮查看
// The referenced block under the folded heading cannot be hovered to view https://github.com/siyuan-note/siyuan/issues/9582
- if 0 != mode && id != n.ID {
+ if (0 != mode && id != n.ID) || isDoc {
unlinks = append(unlinks, n)
return ast.WalkContinue
}