mirror of
https://github.com/heyman/heynote.git
synced 2025-06-27 21:12:00 +02:00
Fix tests and webapp
This commit is contained in:
parent
01aba1fb9f
commit
166855c6f5
@ -160,6 +160,6 @@ export function getKeymapExtensions(editor, keymap, keyBindings) {
|
||||
return heynoteKeymap(
|
||||
editor,
|
||||
keymap === "emacs" ? EMACS_KEYMAP.concat(DEFAULT_KEYMAP) : DEFAULT_KEYMAP,
|
||||
keyBindings,
|
||||
keyBindings || [],
|
||||
)
|
||||
}
|
||||
|
@ -89,6 +89,7 @@ let initialSettings = {
|
||||
showLineNumberGutter: true,
|
||||
showFoldGutter: true,
|
||||
bracketClosing: false,
|
||||
keyBindings: [],
|
||||
}
|
||||
if (settingsData !== null) {
|
||||
initialSettings = Object.assign(initialSettings, JSON.parse(settingsData))
|
||||
|
Loading…
x
Reference in New Issue
Block a user