Explorar o código

:art: 行级元素支持嵌套和交叉 https://github.com/siyuan-note/siyuan/issues/2911

Liang Ding %!s(int64=2) %!d(string=hai) anos
pai
achega
8801e59201
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      kernel/model/file.go

+ 1 - 0
kernel/model/file.go

@@ -1433,6 +1433,7 @@ func createDoc(boxID, p, title, dom string) (err error) {
 	tree.HPath = hPath
 	tree.ID = id
 	tree.Root.ID = id
+	tree.Root.Spec = "1"
 	updated := util.TimeFromID(id)
 	tree.Root.KramdownIAL = [][]string{{"id", id}, {"title", html.EscapeAttrVal(title)}, {"updated", updated}}
 	if nil == tree.Root.FirstChild {