[GH-ISSUE #4971] [Bug] Code Block doesn't support selected line/s indentation with TAB #2213

Closed
opened 2026-03-23 21:20:39 +00:00 by mirror · 0 comments
Owner

Originally created by @unbreakabl3 on GitHub (Mar 23, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4971

Originally assigned to: @Xazin on GitHub.

Bug Description

Inside the code block, when selecting a one line or multiple lines with the code, the indentation with TAB is not working.
It is working, when the cursor is located at the beginning of the line and the text is not selected.

How to Reproduce

Create a code block, select the text and click on TAB

Expected Behavior

The selected line should move

Operating System

MacOS

AppFlowy Version(s)

0.5.2

Screenshots

No response

Additional Context

No response

Originally created by @unbreakabl3 on GitHub (Mar 23, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4971 Originally assigned to: @Xazin on GitHub. ### Bug Description Inside the code block, when selecting a one line or multiple lines with the code, the indentation with TAB is not working. It is working, when the cursor is located at the beginning of the line and the text is not selected. ### How to Reproduce Create a code block, select the text and click on TAB ### Expected Behavior The selected line should move ### Operating System MacOS ### AppFlowy Version(s) 0.5.2 ### Screenshots _No response_ ### Additional Context _No response_
mirror 2026-03-23 21:20:39 +00:00
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#2213
No description provided.