From 7ea957e94d18d9522e1dcda951c474f221320394 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 4 Oct 2023 10:40:02 +0800 Subject: [PATCH 1/4] :art: The default number of dynamically loaded blocks is adjusted from 128 to 192 --- kernel/conf/editor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/conf/editor.go b/kernel/conf/editor.go index 0af766461..3a87b0efe 100644 --- a/kernel/conf/editor.go +++ b/kernel/conf/editor.go @@ -71,7 +71,7 @@ func NewEditor() *Editor { EmbedBlockBreadcrumb: false, ListLogicalOutdent: false, FloatWindowMode: 0, - DynamicLoadBlocks: 128, + DynamicLoadBlocks: 192, Justify: false, RTL: false, BacklinkExpandCount: 8, From e52e5e1412720555dd1b1f632703db78a0fc94db Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 4 Oct 2023 10:50:41 +0800 Subject: [PATCH 2/4] :art: The default number of dynamically loaded blocks is adjusted from 128 to 192 --- kernel/model/conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index 3b0e6444e..e94254d50 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -199,7 +199,7 @@ func InitConf() { Conf.Editor.Emoji = []string{} } if 1 > Conf.Editor.BlockRefDynamicAnchorTextMaxLen { - Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 64 + Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 192 } if 5120 < Conf.Editor.BlockRefDynamicAnchorTextMaxLen { Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 5120 From 62ccbcea67d524447064334ab2493c3f39af3afe Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 4 Oct 2023 10:51:14 +0800 Subject: [PATCH 3/4] :art: The default number of dynamically loaded blocks is adjusted from 128 to 192 --- kernel/model/conf.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index e94254d50..c60ba1793 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -199,7 +199,7 @@ func InitConf() { Conf.Editor.Emoji = []string{} } if 1 > Conf.Editor.BlockRefDynamicAnchorTextMaxLen { - Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 192 + Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 64 } if 5120 < Conf.Editor.BlockRefDynamicAnchorTextMaxLen { Conf.Editor.BlockRefDynamicAnchorTextMaxLen = 5120 @@ -312,7 +312,7 @@ func InitConf() { Conf.Editor.HistoryRetentionDays = 7 } if 48 > Conf.Editor.DynamicLoadBlocks { - Conf.Editor.DynamicLoadBlocks = 48 + Conf.Editor.DynamicLoadBlocks = 192 } if 1024 < Conf.Editor.DynamicLoadBlocks { Conf.Editor.DynamicLoadBlocks = 1024 From 6c190cee9e315dd47d021340d5d3e5ef6f1a80f2 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 4 Oct 2023 10:51:54 +0800 Subject: [PATCH 4/4] :art: The default number of dynamically loaded blocks is adjusted from 128 to 192 --- kernel/model/conf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index c60ba1793..3b0e6444e 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -312,7 +312,7 @@ func InitConf() { Conf.Editor.HistoryRetentionDays = 7 } if 48 > Conf.Editor.DynamicLoadBlocks { - Conf.Editor.DynamicLoadBlocks = 192 + Conf.Editor.DynamicLoadBlocks = 48 } if 1024 < Conf.Editor.DynamicLoadBlocks { Conf.Editor.DynamicLoadBlocks = 1024