mirror of
https://github.com/outline/outline.git
synced 2026-11-21 05:24:03 +03:00
* feat: letter-list * simplify list toggle * use more common shortcuts for list toggle * fix toggle list conflict * wrap letter index to avoid overflow * ensure the markdown letter representation matches the css representation on overflow * improve list style validation * fix list indexing * fix: Toggling ordered lists from formatting menu * fix: Ordered list in block menu --------- Co-authored-by: Tom Moor <tom@getoutline.com>
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.