Skip to content

[BUG] Codeblock get deleted in Readmode when writing a Comment #2122

Closed

Description

@Stormez1998

Hey,

when i try to make a comment in Readmode and i send it, the codeblock gets deleted. When im writing a Comment in editmode it works. Here´s a video of the Bug.

Desktop.2026.04.20.-.00.26.02.04.mp4

Activity

  1. Philipinho commented on Apr 19, 2026

    @Philipinho
    Member

    Will investigate.

  2. mayhemking007 commented on May 2, 2026

    @mayhemking007
    Contributor

    Hey @Philipinho
    I’ve opened a PR to address this issue: #2146

    It fixes the deletion issue, but I noticed inline comment highlight/scroll doesn’t work for code blocks (even in edit mode). Is that expected behaviour?

    Happy to dig into it next if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions