mirror of
https://github.com/outline/outline.git
synced 2026-11-21 13:34:02 +03:00
* Allow setting cell alignment from the table row menu Add an "Align" submenu to the table row selection toolbar, mirroring the existing column alignment menu. A new setRowAttr command applies the chosen alignment to every cell in the selected row(s). Note that per-cell (row) alignment cannot be represented in the markdown serialization of a table, which only supports per-column alignment, so it is preserved in the collaborative document only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ntSQZRBPPzERhRqmRCU6h * Remove setRowAttr tests Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014ntSQZRBPPzERhRqmRCU6h * reorder --------- Co-authored-by: Claude <noreply@anthropic.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.