🎨 支持设置悬浮窗弹出选项 https://github.com/siyuan-note/siyuan/issues/4781
This commit is contained in:
parent
8b3e3d2c9a
commit
4559b03488
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@ type Editor struct {
|
|||
ReadOnly bool `json:"readOnly"` // 只读模式
|
||||
EmbedBlockBreadcrumb bool `json:"embedBlockBreadcrumb"` // 嵌入块是否显示面包屑
|
||||
ListLogicalOutdent bool `json:"listLogicalOutdent"` // 列表逻辑反向缩进
|
||||
BlockRefFloatWindowMode int `json:"blockRefFloatWindowMode"` // 块引悬浮窗触发模式,0:光标悬停,1:按住 Ctrl 悬停
|
||||
}
|
||||
|
||||
func NewEditor() *Editor {
|
||||
|
@ -60,5 +61,6 @@ func NewEditor() *Editor {
|
|||
ReadOnly: false,
|
||||
EmbedBlockBreadcrumb: false,
|
||||
ListLogicalOutdent: false,
|
||||
BlockRefFloatWindowMode: 0,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue