Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Pasting in-app json on a line with text can cause corrupt blocks #6440

Closed
Xazin opened this issue Sep 30, 2024 · 0 comments · Fixed by AppFlowy-IO/appflowy-editor#908 or #6441
Closed
Labels
bug Something isn't working editor features related to the rich-text editor

Comments

@Xazin
Copy link
Collaborator

Xazin commented Sep 30, 2024

Bug Description

If you copy something with a block that cannot contain deltas (eg. image or file block), and paste it on a line that contains deltas, they merge and thus creates a corrupt node.

How to Reproduce

See the video

Expected Behavior

If paste starts with a non-delta block, don't merge with the paragraph node but instead insert below.

Operating System

MacOS

AppFlowy Version(s)

main

Screenshots

Screen.Recording.2024-09-30.at.23.17.55.mov

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor features related to the rich-text editor
Projects
None yet
1 participant