mirror of
https://github.com/heyman/heynote.git
synced 2025-06-25 03:51:26 +02:00
Set scroll margin
This commit is contained in:
parent
937c5af191
commit
4307bf6d0f
@ -48,6 +48,9 @@ export class HeynoteEditor {
|
|||||||
customSetup,
|
customSetup,
|
||||||
nord,
|
nord,
|
||||||
indentUnit.of(" "),
|
indentUnit.of(" "),
|
||||||
|
EditorView.scrollMargins.of(f => {
|
||||||
|
return {top: 80, bottom: 80}
|
||||||
|
}),
|
||||||
heynoteLang(),
|
heynoteLang(),
|
||||||
noteBlockExtension(),
|
noteBlockExtension(),
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user