Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table "Merge" button shows even if user selected a single cell #3033

Open
KorovinQuantori opened this issue Mar 19, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@KorovinQuantori
Copy link
Contributor

KorovinQuantori commented Mar 19, 2024

Description

Steps to Reproduce

  1. Go to https://platejs.org/docs/table (Table merge section)
  2. Add some node (for example an image to an empty cell
  3. Merge a cell with image and some other cell with text
  4. Manually select content in the merged cell (both text and image should be in the selection, screenshot below)
    Untitled
  5. Merge button appears

Sandbox

Expected Behavior

Expecting merge button to appear only if user selected more than one cell

Environment

  • slate:
  • slate-react:
  • browser: chrome

Bounty

Click here to add a bounty via Algora.

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant