mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve doc dynamic loading https://github.com/siyuan-note/siyuan/issues/10851
This commit is contained in:
parent
435a53cb49
commit
9c61d2a36f
4 changed files with 12 additions and 6 deletions
|
|
@ -50,6 +50,11 @@ type Editor struct {
|
|||
BackmentionExpandCount int `json:"backmentionExpandCount"` // 反链提及默认展开数量
|
||||
}
|
||||
|
||||
const (
|
||||
MinDynamicLoadBlocks = 48
|
||||
MaxDynamicLoadBlocks = 1024
|
||||
)
|
||||
|
||||
func NewEditor() *Editor {
|
||||
return &Editor{
|
||||
FontSize: 16,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue