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