Skip to content

Invalid selection provided by getSelectionCutBlocks in tables #1922

@ClementEXWiki

Description

@ClementEXWiki

Describe the bug
Selecting multiple cells from a table will make editor.getSelectionCutBlocks() return an incomplete object:

Here the whole table is selected:

Image

Here is an extract of the object returned by editor.getSelectionCutBlocks() after selecting:

Image

To Reproduce

  1. Select multiple table cells
  2. Call editor.getSelectionCutBlocks()

Misc

  • Node version: N/A
  • Package manager: PNPM 10.14.0
  • Browser: Firefox 141.0.2 (Flatpak)
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions