The current editor state.
A function to dispatch a transaction.
Escape-hatch for when the command needs to interact directly with the UI.
The current editor state.