Coping whole table cell is not possible
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
- Go to https://www.blocknotejs.org/examples/basic/minimal
- Add table block
- Triple click inside of a cell in the table block to highlight it
- 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 💖
I'm waiting too
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.
Yep tables are a bit rough atm, should have some fixes coming soon, mainly for the selection issues and UX improvements.