mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-02 05:31:47 +01:00
🎨 Need to be reminded that replacement operations are not supported after grouping by doc https://github.com/siyuan-note/siyuan/issues/10161
This commit is contained in:
parent
43d0bb1bfe
commit
29322a292b
7 changed files with 17 additions and 6 deletions
|
|
@ -283,6 +283,12 @@ func FindReplace(keyword, replacement string, replaceTypes map[string]bool, ids
|
|||
return
|
||||
}
|
||||
|
||||
if 0 != groupBy {
|
||||
// 按文档分组后不支持替换 Need to be reminded that replacement operations are not supported after grouping by doc https://github.com/siyuan-note/siyuan/issues/10161
|
||||
err = errors.New(Conf.Language(221))
|
||||
return
|
||||
}
|
||||
|
||||
// No longer trim spaces for the keyword and replacement https://github.com/siyuan-note/siyuan/issues/9229
|
||||
if keyword == replacement {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue