mirror of
https://github.com/outline/outline.git
synced 2026-11-25 07:04:37 +03:00
* fix: place cursor at start of inserted table row/column When using Insert before for a table row or column, the selection was collapsed onto the mapped previous selection — landing at the bottom of the shifted neighbouring column rather than in the newly inserted cell. Move the cursor to the start of the first cell of the inserted row/column instead. * feat: Inline editor menu (#12611) * wip * Mobile support * Address review feedback on inline menu - Mark selection-restore transaction as not added to history - Only open desktop inline menu when an anchor is available Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> * fix: place cursor at start of inserted table row/column When using Insert before for a table row or column, the selection was collapsed onto the mapped previous selection — landing at the bottom of the shifted neighbouring column rather than in the newly inserted cell. Move the cursor to the start of the first cell of the inserted row/column instead. * Add handling for After variants Add lint rule --------- 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.