mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-25 08:24:06 +01:00
🎨 Improve list item, super block and blockquote backlink propagation https://github.com/siyuan-note/siyuan/issues/13776
This commit is contained in:
parent
9b02cd192f
commit
c3579b20dd
5 changed files with 55 additions and 41 deletions
|
|
@ -603,7 +603,9 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
|
|||
var nodes []*ast.Node
|
||||
if isBacklink {
|
||||
// 引用计数浮窗请求,需要按照反链逻辑组装 https://github.com/siyuan-note/siyuan/issues/6853
|
||||
nodes, isBacklinkExpand = getBacklinkRenderNodes(node)
|
||||
originalRefBlockIDs := map[string]string{}
|
||||
// TODO
|
||||
nodes, isBacklinkExpand = getBacklinkRenderNodes(node, originalRefBlockIDs)
|
||||
} else {
|
||||
// 如果同时存在 startID 和 endID,并且是动态加载的情况,则只加载 startID 和 endID 之间的块 [startID, endID]
|
||||
if "" != startID && "" != endID && scroll {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue