[GH-ISSUE #6953] [Bug] Pasting text with newlines breaks block formatting #3075

Open
opened 2026-03-23 21:27:24 +00:00 by mirror · 0 comments
Owner

Originally created by @dandv on GitHub (Dec 10, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6953

Originally assigned to: @LucasXu0 on GitHub.

Bug Description

Pasting text that contains newlines, even from AppFlowy itself, into a quote block, will destroy formatting.

Related: #4905

How to Reproduce

  1. Create a multi-line quote block like in the screencast
  2. Paste text containing newlines into the block.

Expected Behavior

The text should stay quoted.

Operating System

Fedora 38

AppFlowy Version(s)

0.7.6 (I clicked Debug Info but that did nothing)

Screenshots

https://github.com/user-attachments/assets/c3453aae-c273-44d6-98e1-d00badd09ce5

Additional Context

Aside from that, pressing Home/End moves the cursor to the beginning of the block/paragraph, not line, violating POLA.

Originally created by @dandv on GitHub (Dec 10, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6953 Originally assigned to: @LucasXu0 on GitHub. ### Bug Description Pasting text that contains newlines, even from AppFlowy itself, into a quote block, will destroy formatting. Related: #4905 ### How to Reproduce 1. Create a multi-line quote block like in the screencast 2. Paste text containing newlines into the block. ### Expected Behavior The text should stay quoted. ### Operating System Fedora 38 ### AppFlowy Version(s) 0.7.6 (I clicked Debug Info but that did nothing) ### Screenshots https://github.com/user-attachments/assets/c3453aae-c273-44d6-98e1-d00badd09ce5 ### Additional Context Aside from that, pressing Home/End moves the cursor to the beginning of the block/paragraph, not line, violating [POLA](https://en.wikipedia.org/wiki/Principle_of_least_astonishment).
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#3075
No description provided.