mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15:40:12 +01:00
🎨 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if nil != clonedConf.Appearance {
|
||||||
|
clonedConf.Appearance.DarkThemes = nil
|
||||||
|
clonedConf.Appearance.LightThemes = nil
|
||||||
|
clonedConf.Appearance.Icons = nil
|
||||||
|
}
|
||||||
if nil != clonedConf.Editor {
|
if nil != clonedConf.Editor {
|
||||||
clonedConf.Editor.Emoji = []string{}
|
clonedConf.Editor.Emoji = []string{}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue