Set scroll margin

This commit is contained in:
Jonatan Heyman 2022-12-30 15:04:48 +01:00
parent 937c5af191
commit 4307bf6d0f

View File

@ -48,6 +48,9 @@ export class HeynoteEditor {
customSetup,
nord,
indentUnit.of(" "),
EditorView.scrollMargins.of(f => {
return {top: 80, bottom: 80}
}),
heynoteLang(),
noteBlockExtension(),