[GH-ISSUE #2992] [Bug] Can't paste multiline text inside code block #1314

Closed
opened 2026-03-23 20:47:45 +00:00 by mirror · 2 comments
Owner

Originally created by @xfactor2000 on GitHub (Jul 13, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2992

Originally assigned to: @LucasXu0, @MayurSMahajan on GitHub.

Bug Description

It's impossible to paste multiline text inside code block. The pasted text appears either before or after the code block, but not inside

How to Reproduce

  1. Copy some text (multiline)
  2. Create code block in AppFlowy document
  3. Try to paste the text inside the block
  4. You will see the text is not placed inside the block, but rather adjacent to it.

Expected Behavior

The text is pasted inside the block.

Operating System

EndeavourOS (arch linux)

AppFlowy Version(s)

0.2.6

Screenshots

image

Additional Context

No response

Originally created by @xfactor2000 on GitHub (Jul 13, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2992 Originally assigned to: @LucasXu0, @MayurSMahajan on GitHub. ### Bug Description It's impossible to paste multiline text inside code block. The pasted text appears either before or after the code block, but not inside ### How to Reproduce 1. Copy some text (multiline) 2. Create code block in AppFlowy document 3. Try to paste the text inside the block 4. You will see the text is not placed inside the block, but rather adjacent to it. ### Expected Behavior The text is pasted inside the block. ### Operating System EndeavourOS (arch linux) ### AppFlowy Version(s) 0.2.6 ### Screenshots ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/4991585/757395cf-c99d-4cef-af6b-746b385ed7ce) ### Additional Context _No response_
mirror 2026-03-23 20:47:45 +00:00
  • closed this issue
  • added the
    bug
    editor
    labels
Author
Owner

@MayurSMahajan commented on GitHub (Jul 13, 2023):

Hey Lucas! Actually, I am already working on it. It fits in my Octernship project.

<!-- gh-comment-id:1634178985 --> @MayurSMahajan commented on GitHub (Jul 13, 2023): Hey Lucas! Actually, I am already working on it. It fits in my Octernship project.
Author
Owner

@LucasXu0 commented on GitHub (Jul 14, 2023):

Hey Lucas! Actually, I am already working on it. It fits in my Octernship project.

Got it.

<!-- gh-comment-id:1635668813 --> @LucasXu0 commented on GitHub (Jul 14, 2023): > Hey Lucas! Actually, I am already working on it. It fits in my Octernship project. Got it.
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#1314
No description provided.