BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Enter key inserts new line in table cell instead of moving focus to cell below

Open expiante opened this issue 10 months ago • 1 comments

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.

expiante avatar Feb 02 '26 13:02 expiante

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

nperez0111 avatar Feb 03 '26 09:02 nperez0111