🎨 文档树支持 Ctrl+ClickShift+↑/↓ 进行多选 https://github.com/siyuan-note/siyuan/issues/1359

This commit is contained in:
Liang Ding 2022-11-03 14:52:26 +08:00
parent 4ee2fa6c0f
commit e6fa3fc6e3
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 3 additions and 2 deletions

View file

@ -547,6 +547,7 @@ func TryAccessFileByBlockID(id string) (ok bool) {
}
func getBoxesByPaths(paths []string) (ret map[string]*Box) {
ret = map[string]*Box{}
for _, p := range paths {
id := strings.TrimSuffix(path.Base(p), ".sy")
bt := treenode.GetBlockTree(id)