PHP 8.2.30
Preview: README.md Size: 994 B
/home/byroehnu/.trash/node_modules11/prosemirror-commands/src/README.md

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

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
32.08 KB lrw-r--r-- 2026-02-28 00:28:06
Edit Download
994 B lrw-r--r-- 2026-02-28 00:28:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).