Skip to content

Table right-click actions don’t execute, merge/split are missing from the right click menu, and splitCell behaves like unmerge instead of true cell splitting #242

@alokwhitewolf

Description

@alokwhitewolf

I ran into a few issues with table actions in the editor, all centered around the right-click menu.

First, the table actions in the right-click menu do not actually execute. If I right-click inside a table cell and choose options like:

  • Insert row above
  • Insert row below
  • Delete row
  • Insert column left
  • Insert column right
  • Delete column

nothing happens.

Second, the right-click menu is missing Merge cells and Split cell, even though table merge/split-related functionality seems to exist elsewhere in the table toolbar / three-dots menu path

Third, the current splitCell behavior does not behave like “Split Cells” in Microsoft Word. It seems closer to unmerging an already merged cell, but it does not support a real split flow where the user chooses how many rows and columns the selected cell should be split into.

What I would expect instead:

  • right-click table actions should actually modify the table
  • the table right-click menu should include Merge cells and Split cell
  • Split cell should behave more like Microsoft Word:
    • open a small dialog
    • ask for the number of rows
    • ask for the number of columns
    • split the selected cell into that grid

That distinction matters because “split” and “unmerge” are not really the same thing from a user perspective.

Repro

  1. Open a document with a table
  2. Right-click inside a table cell
  3. Try the row/column actions [ add / delete ]
  4. Check whether Merge cells / Split cell are present

Image

Expected

  • right-click row/column actions execute [ they can create and delete rows and cols ]
  • merge/split are visible in the table context menu
  • split allows row/column input like Word

Actual

  • row/column actions do nothing
  • merge/split are missing from the right-click menu
  • existing split behavior behaves more like unmerge than a real split

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions