🎨 Support export and import settings https://github.com/siyuan-note/siyuan/issues/10617
This commit is contained in:
parent
03b00a6b8d
commit
0c450d9fcd
1 changed files with 5 additions and 0 deletions
|
@ -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{}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue