mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 行级元素支持嵌套和交叉 https://github.com/siyuan-note/siyuan/issues/2911
This commit is contained in:
parent
11d5a3b59f
commit
8801e59201
1 changed files with 1 additions and 0 deletions
|
|
@ -1433,6 +1433,7 @@ func createDoc(boxID, p, title, dom string) (err error) {
|
||||||
tree.HPath = hPath
|
tree.HPath = hPath
|
||||||
tree.ID = id
|
tree.ID = id
|
||||||
tree.Root.ID = id
|
tree.Root.ID = id
|
||||||
|
tree.Root.Spec = "1"
|
||||||
updated := util.TimeFromID(id)
|
updated := util.TimeFromID(id)
|
||||||
tree.Root.KramdownIAL = [][]string{{"id", id}, {"title", html.EscapeAttrVal(title)}, {"updated", updated}}
|
tree.Root.KramdownIAL = [][]string{{"id", id}, {"title", html.EscapeAttrVal(title)}, {"updated", updated}}
|
||||||
if nil == tree.Root.FirstChild {
|
if nil == tree.Root.FirstChild {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue