mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Support disabling list item dot/number click to focus https://github.com/siyuan-note/siyuan/issues/10431
This commit is contained in:
parent
1210bff972
commit
d6164264fe
9 changed files with 31 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ type Editor struct {
|
|||
ReadOnly bool `json:"readOnly"` // 只读模式
|
||||
EmbedBlockBreadcrumb bool `json:"embedBlockBreadcrumb"` // 嵌入块是否显示面包屑
|
||||
ListLogicalOutdent bool `json:"listLogicalOutdent"` // 列表逻辑反向缩进
|
||||
ListItemDotNumberClickFocus bool `json:"listItemDotNumberClickFocus"` // 单击列表项标记聚焦
|
||||
FloatWindowMode int `json:"floatWindowMode"` // 浮窗触发模式,0:光标悬停,1:按住 Ctrl 悬停,2:不触发浮窗
|
||||
DynamicLoadBlocks int `json:"dynamicLoadBlocks"` // 块动态数,可配置区间 [48, 1024]
|
||||
Justify bool `json:"justify"` // 是否两端对齐
|
||||
|
|
@ -70,6 +71,7 @@ func NewEditor() *Editor {
|
|||
ReadOnly: false,
|
||||
EmbedBlockBreadcrumb: false,
|
||||
ListLogicalOutdent: false,
|
||||
ListItemDotNumberClickFocus: true,
|
||||
FloatWindowMode: 0,
|
||||
DynamicLoadBlocks: 192,
|
||||
Justify: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue