mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
🎨 Improve fold heading editing https://github.com/siyuan-note/siyuan/issues/15989
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
92d3f0b0bf
commit
260c35fc94
1 changed files with 1 additions and 4 deletions
|
|
@ -1604,10 +1604,7 @@ func unfoldHeading(heading *ast.Node) {
|
||||||
UndoOperations: []*Operation{{Action: "foldHeading", ID: heading.ID}},
|
UndoOperations: []*Operation{{Action: "foldHeading", ID: heading.ID}},
|
||||||
}}
|
}}
|
||||||
|
|
||||||
go func() {
|
util.PushEvent(evt)
|
||||||
time.Sleep(500 * time.Millisecond)
|
|
||||||
util.PushEvent(evt)
|
|
||||||
}()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func getRefDefIDs(node *ast.Node) (refDefIDs []string) {
|
func getRefDefIDs(node *ast.Node) (refDefIDs []string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue