BlockNote
BlockNote copied to clipboard
Enter key inserts new line in table cell instead of moving focus to cell below
Pressing Enter inside a table cell inserts a new line within the same cell, even when Shift is not pressed.
Expected Behavior
- Enter
- Moves focus to the cell directly below
- Shift + Enter
- Inserts a new line within the current cell
Actual Behavior
- Enter or Shift + Enter Inserts a new line inside the current cell
This makes it difficult to navigate tables using the keyboard and conflicts with common table-editing expectations.
Definitely is something that is nice to have. This would involve adding a keyboard shortcut that triggers when you are in a table cell, and changing the behavior of how it responds. https://www.blocknotejs.org/docs/features/extensions#extensions