BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Coping whole table cell is not possible

Open piotrbaldych-cr opened this issue 1 year ago • 1 comments

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 avatar Sep 10 '24 08:09 piotrbaldych-cr

I'm waiting too

izr8809 avatar Sep 13 '24 05:09 izr8809

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.

mjp0 avatar Sep 24 '24 14:09 mjp0

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

matthewlipski avatar Sep 25 '24 14:09 matthewlipski