The ProseMirror schema to build keymaps for.
Optional
options: { onSave?: Function } = {}Additional options to configure the plugin's behaviour.
Optional
onSave?: FunctionA function to call when Ctrl+S is pressed.
Build keyboard commands for nodes and marks present in the schema.
An object of keyboard shortcuts to editor functions.
Static
buildBuild the plugin.
The ProseMirror schema to build the plugin against.
Additional options to pass to the plugin.
A class responsible for building the keyboard commands for the ProseMirror editor.