From 5e0edf6ff01763b3f7824000a520da8b3934a815 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 13 Dec 2023 16:24:52 +0800 Subject: [PATCH] :art: Fix folded heading load nodes --- .github/workflows/dockerimage.yml | 2 +- app/appx/AppxManifest.xml | 2 +- app/package.json | 2 +- kernel/model/file.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 68de0cabf..3a95d3632 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 0250d4743..b63a60e2c 100644 --- a/app/appx/AppxManifest.xml +++ b/app/appx/AppxManifest.xml @@ -9,7 +9,7 @@ + Version="2.11.2.0"/> SiYuan 云南链滴科技有限公司 diff --git a/app/package.json b/app/package.json index d516a8ec2..682f5c1e9 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 3708e1234..c9b4153ce 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 }