Files
outline/shared/editor/commands
Tom Moor ce845b89e9 fix: Correct logic errors in shared utilities (#14904)
* fix: Correct logic errors in shared utilities

* fix: Restore per-column cells in getCellsInRow and convert every attachment url

The g flag made the attachment regex skip every second match, and removing
duplicate cells broke callers that index getCellsInRow by column.

* test: Cover uppercase attachment URLs

* revert: Remove uncertain fixes
2026-12-05 12:48:21 -05:00
..

https://prosemirror.net/docs/ref/#commands

Commands 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.

Additional commands that are not included as part of prosemirror-commands, but are often reused can be found in this folder.