[GH-ISSUE #4932] [Bug] Typing inside a code block breaks it. #2194

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

Originally created by @emmggi on GitHub (Mar 18, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4932

Originally assigned to: @Xazin on GitHub.

Bug Description

Create a code block with some text in it. Typing inside after it was created splits it.

How to Reproduce

  1. Create a code block either from highlighted text or manually using ticks.
  2. Type inside the block.

Expected Behavior

It should keep being a code block.

Operating System

Linux

AppFlowy Version(s)

0.5.2

Screenshots

No response

Additional Context

Screencast from 2024-03-18 10-26-43.webm

Originally created by @emmggi on GitHub (Mar 18, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4932 Originally assigned to: @Xazin on GitHub. ### Bug Description Create a code block with some text in it. Typing inside after it was created splits it. ### How to Reproduce 1. Create a code block either from highlighted text or manually using ticks. 2. Type inside the block. ### Expected Behavior It should keep being a code block. ### Operating System Linux ### AppFlowy Version(s) 0.5.2 ### Screenshots _No response_ ### Additional Context [Screencast from 2024-03-18 10-26-43.webm](https://github.com/AppFlowy-IO/AppFlowy/assets/45419292/4e3392cc-dbb8-4b77-88c3-8636c5c8248f)
mirror 2026-03-23 21:20:30 +00:00
Author
Owner

@inson1 commented on GitHub (Mar 18, 2024):

on Windows 10 and 0.5.0 it doesnt happen

EDIT
even on 0.5.2 i cant reproduce it

<!-- gh-comment-id:2003331672 --> @inson1 commented on GitHub (Mar 18, 2024): on Windows 10 and 0.5.0 it doesnt happen EDIT even on 0.5.2 i cant reproduce it
Author
Owner

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

reproducible on v0.5.3 macOS

<!-- gh-comment-id:2032255672 --> @annieappflowy commented on GitHub (Apr 2, 2024): reproducible on v0.5.3 macOS
Author
Owner

@annieappflowy commented on GitHub (Jun 21, 2024):

Fixed in the upcoming release

<!-- gh-comment-id:2182769688 --> @annieappflowy commented on GitHub (Jun 21, 2024): Fixed in the upcoming release
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#2194
No description provided.