[GH-ISSUE #3074] [FR] press Enter anywhere in the grid view to add a new row / shift + enter a new line #1353

Open
opened 2026-03-23 20:48:13 +00:00 by mirror · 2 comments
Owner

Originally created by @annieappflowy on GitHub (Jul 28, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3074

Description

I'd like to use shortcuts to add new rows rather than clicking +

Shift + Enter creates a new row below the current active row.
Hover on + to show a tooltip informing users of this shortcut

Impact

Grid users

Additional Context

No response

Originally created by @annieappflowy on GitHub (Jul 28, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3074 ### Description I'd like to use shortcuts to add new rows rather than clicking + Shift + Enter creates a new row below the current active row. Hover on `+` to show a tooltip informing users of this shortcut ### Impact Grid users ### Additional Context _No response_
Author
Owner

@Xazin commented on GitHub (Aug 25, 2023):

Hey @annieappflowy, I have some suggestions for commands related to this feature:

Given a cell is focused
When pressing enter
Then the below cell is focused
Given there is a cell below

Given a cell is focused
When pressing shift+enter
Then a new line is inserted in the cell

Given a cell is focused
When pressing either up or down arrow key
Then the focus moves up or down to above or below cell
Given there is a cell up/down

Given a cell is focused
When pressing ctrl+enter
Then a new row is added below
And the cell just below the focused one
is then focused

Given a cell is focused
When pressing ctrl+shift+enter
Then a new row is added above
And the cell just above the focused one
is then focused

Given a cell is focused
And the cursor in the cell is at the end of the text
When pressing the right arrow
Then the focus moves to the next column
Given there is a next column

Given a cell is focused
And the cursor in the cell is at the beginning of the text
When pressing the left arrow
Then the focus moves to the previous column
Given there is a previous column

Given a cell is focused
When holding the shift key
and pressing on other cells
Then all cells are selected between
the selection

Given multiple cells are focused
When pressing CTRL+C
Then the deltas of each cell are copied in order
of top left to bottom right

Wrote them in Gherkin format so they're a bit easier to understand.

<!-- gh-comment-id:1693240579 --> @Xazin commented on GitHub (Aug 25, 2023): Hey @annieappflowy, I have some suggestions for commands related to this feature: ``` Given a cell is focused When pressing enter Then the below cell is focused Given there is a cell below Given a cell is focused When pressing shift+enter Then a new line is inserted in the cell Given a cell is focused When pressing either up or down arrow key Then the focus moves up or down to above or below cell Given there is a cell up/down Given a cell is focused When pressing ctrl+enter Then a new row is added below And the cell just below the focused one is then focused Given a cell is focused When pressing ctrl+shift+enter Then a new row is added above And the cell just above the focused one is then focused Given a cell is focused And the cursor in the cell is at the end of the text When pressing the right arrow Then the focus moves to the next column Given there is a next column Given a cell is focused And the cursor in the cell is at the beginning of the text When pressing the left arrow Then the focus moves to the previous column Given there is a previous column Given a cell is focused When holding the shift key and pressing on other cells Then all cells are selected between the selection Given multiple cells are focused When pressing CTRL+C Then the deltas of each cell are copied in order of top left to bottom right ``` Wrote them in Gherkin format so they're a bit easier to understand.
Author
Owner

@annieappflowy commented on GitHub (Oct 29, 2024):

When i'm in a table.

Is it possible to automatically create a new line when pressing enter instead of doing a newline in the text area ?

image

<!-- gh-comment-id:2443252688 --> @annieappflowy commented on GitHub (Oct 29, 2024): When i'm in a table. Is it possible to automatically create a new line when pressing enter instead of doing a newline in the text area ? ![image](https://github.com/user-attachments/assets/74519f77-edc9-41b6-af36-89389f1cfbe8)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#1353
No description provided.