You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

994 B

This module exports a number of commands, which are building block functions that encapsulate an editing action. A command function takes an editor state, optionally a dispatch function that it can use to dispatch a transaction and optionally an EditorView instance. It should return a boolean that indicates whether it could perform any action. When no dispatch callback is passed, the command should do a 'dry run', determining whether it is applicable, but not actually doing anything.

These are mostly used to bind keys and define menu items.

@chainCommands @deleteSelection @joinBackward @selectNodeBackward @joinTextblockBackward @joinForward @selectNodeForward @joinTextblockForward @joinUp @joinDown @lift @newlineInCode @exitCode @createParagraphNear @liftEmptyBlock @splitBlock @splitBlockAs @splitBlockKeepMarks @selectParentNode @selectAll @selectTextblockStart @selectTextblockEnd @wrapIn @setBlockType @toggleMark @autoJoin @baseKeymap @pcBaseKeymap @macBaseKeymap