Repository navigation
Conversation
|
Thanks for this. I don't want to add a per-table menu to core. It puts a new tabbable trigger on every table, and #741 is really about moving the cursor out of and around a table. This PR works around that rather than fixing it. A toolbar button can already insert a paragraph next to a table with The real gap this exposes: when focus moves from a cell to editor UI, the cell's save is skipped, so pending typing isn't committed. That affects every toolbar action, and this PR covers it only for the table that owns the menu. For example, edit a cell in table A, then use table B's menu. Table A's edit is missing from I'd welcome a small PR that commits the active cell editor before any toolbar action, at the root level. Proper keyboard navigation around tables for #741 would be welcome too. |
Fixes #741.
Summary
Add a table-level menu in the existing upper-left tool cell with Insert paragraph before table and Insert paragraph after table actions. The actions work at document boundaries, between adjacent tables, and beside other blocks.
Validation
Based on current main
4d9499a86cb797cb92d2a6a4718619983e5955e3.Final fork CI, head
8e39c85d9686ee5a9d991321ea6bf0e5f4b5f320:Unchanged-main reproduction confirms the adjacent-table entry gap in Chromium/WebKit; Firefox and terminal-table controls behave differently. This PR provides explicit actions rather than changing that navigation or automatically adding paragraphs.
The Firefox synthetic image-paste fixture correction is the same one already validated in #996; it restores the constructor-dropped clipboard payload without changing image assertions. No dependencies or workflows change. This PR does not include the pending region-paste or reorder implementations. Separate unit-only compatibility checks passed for their combined history/focus paths; combined browser validation was not performed.