mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-20 03:40:10 -06:00
🎨 Support export and import settings https://github.com/siyuan-note/siyuan/issues/10617
This commit is contained in:
@@ -230,6 +230,11 @@ func exportConf(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if nil != clonedConf.Appearance {
|
||||
clonedConf.Appearance.DarkThemes = nil
|
||||
clonedConf.Appearance.LightThemes = nil
|
||||
clonedConf.Appearance.Icons = nil
|
||||
}
|
||||
if nil != clonedConf.Editor {
|
||||
clonedConf.Editor.Emoji = []string{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user