Skip to content

Coping whole table cell is not possible #1064

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

Closed
1 task
piotrbaldych-cr opened this issue Sep 10, 2024 · 3 comments · Fixed by #1116
Closed
1 task

Coping whole table cell is not possible #1064

piotrbaldych-cr opened this issue Sep 10, 2024 · 3 comments · Fixed by #1116
Labels
bug Something isn't working prio:mid Medium priority

Comments

@piotrbaldych-cr
Copy link

Describe the bug
When highlighting whole cell in a table block and pressing CTRL+C error is logged in console, the content of the cell is not copied

TypeError: Cannot read properties of undefined (reading 'children')

To Reproduce

  1. Go to https://www.blocknotejs.org/examples/basic/minimal
  2. Add table block
  3. Triple click inside of a cell in the table block to highlight it
  4. Press CTRL+C

Expected behavior:
Content of the cell or cell is copied to clipboard and can be pasted elsewhere

Actual behavior:
Content is not copied
Error is logged in console

Misc

  • Node version: n/a
  • Package manager: n/a
  • Browser: Chrome 128
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
@piotrbaldych-cr piotrbaldych-cr added the bug Something isn't working label Sep 10, 2024
@matthewlipski matthewlipski added the prio:mid Medium priority label Sep 11, 2024
@izr8809
Copy link

izr8809 commented Sep 13, 2024

I'm waiting too

@mjp0
Copy link

mjp0 commented Sep 24, 2024

Yeah, this is terrible UX and my number 1 gripe right now.

Also, if I select a cell so that it looks "fully selected", go to another cell and paste, a new table is pasted outside the table with the cell. That's definitely not the expected behavior from user's perspective.

Dragging also doesn't work.

@matthewlipski
Copy link
Collaborator

Yep tables are a bit rough atm, should have some fixes coming soon, mainly for the selection issues and UX improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio:mid Medium priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants