appflowy-editor
appflowy-editor copied to clipboard
[Bug] Pasting multiple lines doesn't work on Android
Bug Description
When pasting a text with multiple lines on Android, it looks like it works but they are actually "fake" line.
Try adding a todo box in front of one of the lines, and they will all behave like one line.
You will also see that it is a fake line if you remove the jump between two lines and add it back manually: it will be juste a little bit higher than the other ones.
It works well on Windows though.
How to Reproduce
Paste a multiline text in the editor.
Expected Behavior
Pasting a multiline text should result in multiple lines being pasted.
Operating System
Android
AppFlowy Editor Version(s)
2.1.0
Screenshots
I copied the text from Google Lyrics.
After pasting:
After adding a checkbox:
After manually replacing the jump after the first line (notice the slightly highest spacing):
Additional Context
No response
@maelchiotti Can you copy the content to this website and share the results here? https://evercoder.github.io/clipboard-inspector/
The paste function is shared across all platforms.
On Windows 11:
On Android 12:
I will try to reproduce it.
I noticed that the selection is not visible after selecting the line that was copied.
Regular string.
A line in which the selection is not visible.
I'll look at this bug ))
@LucasXu0