[GH-ISSUE #5880] [Bug] Code block line numbers not in sync #2611

Closed
opened 2026-03-23 21:23:45 +00:00 by mirror · 1 comment
Owner

Originally created by @Kirandeep-Singh-Khehra on GitHub (Aug 5, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5880

Bug Description

Hi there,
I am on Mac and using AppFlowy for my developer docs, the issue that i am facing is of line numbers not in sync with content in code block. Line numbers are lagging behind content of code block.
Screenshot 2024-08-05 at 8 12 55 PM

How to Reproduce

Paste a long code in code block. Even less lines work but more lines exaggerate the bug.

Expected Behavior

Line numbers must be directly inline with lines in code block.

Operating System

MacOS (Sonama 14.5)

AppFlowy Version(s)

0.6.6 and 0.6.1

Screenshots

Screenshot 2024-08-05 at 8 12 55 PM

Additional Context

No response

Originally created by @Kirandeep-Singh-Khehra on GitHub (Aug 5, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5880 ### Bug Description Hi there, I am on Mac and using AppFlowy for my developer docs, the issue that i am facing is of line numbers not in sync with content in code block. Line numbers are lagging behind content of code block. <img width="1406" alt="Screenshot 2024-08-05 at 8 12 55 PM" src="https://github.com/user-attachments/assets/4eb262d5-3f9d-425d-bf16-689961caedd5"> ### How to Reproduce Paste a long code in code block. Even less lines work but more lines exaggerate the bug. ### Expected Behavior Line numbers must be directly inline with lines in code block. ### Operating System MacOS (Sonama 14.5) ### AppFlowy Version(s) 0.6.6 and 0.6.1 ### Screenshots <img width="1406" alt="Screenshot 2024-08-05 at 8 12 55 PM" src="https://github.com/user-attachments/assets/892729d2-4f9c-4302-bd9c-f92520c6a06f"> ### Additional Context _No response_
Author
Owner

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

We removed line numbers in the code block

<!-- gh-comment-id:2387522606 --> @annieappflowy commented on GitHub (Oct 2, 2024): We removed line numbers in the code block
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#2611
No description provided.