The ProseMirror schema to build keymaps for.
Optionaloptions: { onSave?: Function } = {}Additional options to configure the plugin's behaviour.
OptionalonSave?: 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.
StaticbuildBuild 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.