mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Improve block collapse and expansion operations (#10717)
This commit is contained in:
parent
6d833429c9
commit
e922c402c8
3 changed files with 13 additions and 15 deletions
|
|
@ -125,7 +125,7 @@ func unfoldBlock(c *gin.Context) {
|
|||
},
|
||||
}
|
||||
} else {
|
||||
data, _ := gulu.JSON.MarshalJSON(map[string]interface{}{"unfold": "1"})
|
||||
data, _ := gulu.JSON.MarshalJSON(map[string]interface{}{"fold": ""})
|
||||
transactions = []*model.Transaction{
|
||||
{
|
||||
DoOperations: []*model.Operation{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue