Skip to content

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

:bug: Export PDF hangs on focus heading Fix https://github.com/siyuan-note/siyuan/issues/8239

Liang Dingd89b1192b9ad
diff --git a/kernel/model/export.go b/kernel/model/export.go
index 01b9ff4664..b6dba14300 100644
--- a/kernel/model/export.go
+++ b/kernel/model/export.go
@@ -631,6 +631,7 @@ func prepareExportTree(bt *treenode.BlockTree) (ret *parse.Tree) {
ret.Path = bt.Path
ret.HPath = bt.HPath
ret.Box = bt.BoxID
+ ret.ID = bt.RootID
return
}