mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve fold heading editing 04 https://github.com/siyuan-note/siyuan/issues/16197
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
08c66696f8
commit
5d0f04b507
1 changed files with 4 additions and 0 deletions
|
|
@ -744,6 +744,10 @@ func GetHeadingLevelTransaction(id string, level int) (transaction *Transaction,
|
|||
fillBlockRefCount(childrenHeadings)
|
||||
|
||||
transaction = &Transaction{}
|
||||
if "1" == node.IALAttr("fold") {
|
||||
unfoldHeading(node, node)
|
||||
}
|
||||
|
||||
luteEngine := util.NewLute()
|
||||
for _, c := range childrenHeadings {
|
||||
op := &Operation{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue