[GH-ISSUE #4614] [Bug] Code block selection problem #2067

Open
opened 2026-03-23 21:19:21 +00:00 by mirror · 1 comment
Owner

Originally created by @smartyhero on GitHub (Feb 6, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4614

Originally assigned to: @LucasXu0 on GitHub.

Bug Description

1 If I have more than one page of code blocks, I want to select all the codes for copying. If I select from bottom to top, there will be a strange problem and I cannot select all the codes.
2 In addition, if I put the cursor at the beginning, then hold down the shift key and then position the cursor at the end, I cannot select all the code.

How to Reproduce

Create a code block in the appflowy client, then paste in a large section of code, and then use various customary methods to select the code block inside

Expected Behavior

The code in the code block can be selected through various customary methods.

Operating System

mac

AppFlowy Version(s)

0.4.6

Screenshots

Kapture 2024-02-06 at 17 58 36

Kapture 2024-02-06 at 17 54 06

Additional Context

No response

Originally created by @smartyhero on GitHub (Feb 6, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4614 Originally assigned to: @LucasXu0 on GitHub. ### Bug Description 1 If I have more than one page of code blocks, I want to select all the codes for copying. If I select from bottom to top, there will be a strange problem and I cannot select all the codes. 2 In addition, if I put the cursor at the beginning, then hold down the shift key and then position the cursor at the end, I cannot select all the code. ### How to Reproduce Create a code block in the appflowy client, then paste in a large section of code, and then use various customary methods to select the code block inside ### Expected Behavior The code in the code block can be selected through various customary methods. ### Operating System mac ### AppFlowy Version(s) 0.4.6 ### Screenshots ![Kapture 2024-02-06 at 17 58 36](https://github.com/AppFlowy-IO/AppFlowy/assets/76774978/ef1cd39a-5afe-4e5f-ac2f-f7f101b25241) ![Kapture 2024-02-06 at 17 54 06](https://github.com/AppFlowy-IO/AppFlowy/assets/76774978/767c0ce4-3599-4f4a-ac61-b05c213e4f4e) ### Additional Context _No response_
Author
Owner

@Xazin commented on GitHub (Dec 16, 2024):

The scroll issue with selection seems quite odd.

The shift+click selection issue is an issue with the editor in general.

<!-- gh-comment-id:2545161190 --> @Xazin commented on GitHub (Dec 16, 2024): The scroll issue with selection seems quite odd. The shift+click selection issue is an issue with the editor in general.
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#2067
No description provided.