mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
✨ 行级元素支持多重样式类型 https://github.com/siyuan-note/siyuan/issues/2911
This commit is contained in:
@@ -112,8 +112,8 @@ func GetRefsCacheByDefID(defID string) (ret []*Ref) {
|
||||
|
||||
var defIDRefsCache = gcache.New(30*time.Minute, 5*time.Minute) // [defBlockID]map[refBlockID]*Ref
|
||||
|
||||
func CacheRef(tree *parse.Tree, refIDNode *ast.Node) {
|
||||
ref := buildRef(tree, refIDNode)
|
||||
func CacheRef(tree *parse.Tree, refNode *ast.Node) {
|
||||
ref := buildRef(tree, refNode)
|
||||
putRefCache(ref)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user