From 4559b03488db0519104a37c6058edc4ff460cc68 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 28 Oct 2022 19:01:04 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=AF=E6=8C=81=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=82=AC=E6=B5=AE=E7=AA=97=E5=BC=B9=E5=87=BA=E9=80=89=E9=A1=B9?= =?UTF-8?q?=20https://github.com/siyuan-note/siyuan/issues/4781?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/conf/editor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/conf/editor.go b/kernel/conf/editor.go index fe64c87aa..2ae56d495 100644 --- a/kernel/conf/editor.go +++ b/kernel/conf/editor.go @@ -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, } }