mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 22:38:49 +01:00
🎨 文档树支持 Ctrl+Click 和 Shift+↑/↓ 进行多选 https://github.com/siyuan-note/siyuan/issues/1359
This commit is contained in:
parent
e6fa3fc6e3
commit
27951d45ec
1 changed files with 1 additions and 6 deletions
|
|
@ -1218,12 +1218,7 @@ func RemoveDocs(paths []string) (err error) {
|
|||
util.PushEndlessProgress(Conf.Language(116))
|
||||
|
||||
paths = filterSelfChildDocs(paths)
|
||||
var ids []string
|
||||
for _, p := range paths {
|
||||
ids = append(ids, strings.TrimSuffix(path.Base(p), ".sy"))
|
||||
}
|
||||
|
||||
pathsBoxes := getBoxesByPaths(ids)
|
||||
pathsBoxes := getBoxesByPaths(paths)
|
||||
WaitForWritingFiles()
|
||||
for p, box := range pathsBoxes {
|
||||
err = removeDoc(box, p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue