🎨 Record the width of some Protyle elements in the attributes (#15043)

fix https://github.com/siyuan-note/siyuan/issues/15021
This commit is contained in:
Jeffrey Chen 2025-10-25 17:16:56 +08:00 committed by GitHub
parent 2a2645d450
commit 6150e9b7c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 29 additions and 22 deletions

View file

@ -27,7 +27,7 @@ type Editor struct {
CodeTabSpaces int `json:"codeTabSpaces"` // 代码块中 Tab 转换空格数,配置为 0 则表示不转换
CodeLineWrap bool `json:"codeLineWrap"` // 代码块是否自动折行
CodeLigatures bool `json:"codeLigatures"` // 代码块是否连字
DisplayBookmarkIcon bool `json:"displayBookmarkIcon"` // 是否显示书签图
DisplayBookmarkIcon bool `json:"displayBookmarkIcon"` // 是否显示内容块角
DisplayNetImgMark bool `json:"displayNetImgMark"` // 是否显示网络图片角标
GenerateHistoryInterval int `json:"generateHistoryInterval"` // 生成历史时间间隔,单位:分钟
HistoryRetentionDays int `json:"historyRetentionDays"` // 历史保留天数