mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 01:06:09 +01:00
🎨 Improve callout block https://github.com/siyuan-note/siyuan/issues/16607
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
6f2ace0c28
commit
c07efea8de
18 changed files with 33 additions and 33 deletions
|
|
@ -703,7 +703,7 @@ func updateBlock(c *gin.Context) {
|
|||
}
|
||||
tree.Root.FirstChild.SetIALAttr("id", id)
|
||||
|
||||
data = luteEngine.Tree2BlockDOM(tree, luteEngine.RenderOptions)
|
||||
data = luteEngine.Tree2BlockDOM(tree, luteEngine.RenderOptions, luteEngine.ParseOptions)
|
||||
transactions = []*model.Transaction{
|
||||
{
|
||||
DoOperations: []*model.Operation{
|
||||
|
|
@ -888,7 +888,7 @@ func batchUpdateBlock(c *gin.Context) {
|
|||
}
|
||||
tree.Root.FirstChild.SetIALAttr("id", id)
|
||||
|
||||
data = luteEngine.Tree2BlockDOM(tree, luteEngine.RenderOptions)
|
||||
data = luteEngine.Tree2BlockDOM(tree, luteEngine.RenderOptions, luteEngine.ParseOptions)
|
||||
ops = append(ops, &model.Operation{
|
||||
Action: "update",
|
||||
ID: id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue