mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
f10c0bcd4d
commit
98e8083122
3 changed files with 12 additions and 0 deletions
|
|
@ -139,6 +139,10 @@ func indexNode(tx *sql.Tx, id string) (err error) {
|
|||
|
||||
func NodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATitleURL, includeAssetPath, fullAttrView bool,
|
||||
GetBlockAttrsWithoutWaitWriting func(id string) (ret map[string]string)) string {
|
||||
if nil == node {
|
||||
return ""
|
||||
}
|
||||
|
||||
if ast.NodeAttributeView == node.Type {
|
||||
if fullAttrView {
|
||||
return getAttributeViewContent(node.AttributeViewID, GetBlockAttrsWithoutWaitWriting)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue