Files
Tom MoorandClaude Opus 4.8 84e039feab feat: Allow setting alignment on table row selection (#12898)
* 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>
2026-07-08 08:55:38 +00:00
..
2026-06-29 17:11:02 -04: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.