mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Filter nesting folder of custom emoji before adding emoji https://github.com/siyuan-note/siyuan/pull/8903
This commit is contained in:
parent
db13d92558
commit
b7fd16f62d
2 changed files with 6 additions and 3 deletions
|
|
@ -124,11 +124,12 @@ func getEmojiConf(c *gin.Context) {
|
|||
}
|
||||
|
||||
for _, subCustomEmoji := range subCustomEmojis {
|
||||
name = subCustomEmoji.Name()
|
||||
if strings.HasPrefix(name, ".") {
|
||||
if subCustomEmoji.IsDir() {
|
||||
continue
|
||||
}
|
||||
if subCustomEmoji.IsDir() {
|
||||
|
||||
name = subCustomEmoji.Name()
|
||||
if strings.HasPrefix(name, ".") {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -488,6 +488,8 @@ func FullReindex() {
|
|||
task.AppendTask(task.DatabaseIndexFull, fullReindex)
|
||||
task.AppendTask(task.DatabaseIndexRef, IndexRefs)
|
||||
task.AppendTask(task.ReloadUI, util.ReloadUI)
|
||||
|
||||
ReindexAssetContent()
|
||||
}
|
||||
|
||||
func fullReindex() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue