fix keymaps

This commit is contained in:
Philipp Kühn
2020-11-02 23:26:41 +01:00
parent ade9847e72
commit 3a79b8c564
6 changed files with 34 additions and 22 deletions

View File

@@ -0,0 +1,14 @@
import { baseKeymap } from 'prosemirror-commands'
import { createExtension } from '../Extension'
export const BaseKeymap = createExtension({
addKeyboardShortcuts() {
return baseKeymap
},
})
declare module '../Editor' {
interface AllExtensions {
BaseKeymap: typeof BaseKeymap,
}
}