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]: Unexpected results with undo in block editor. #1216

Open
SnowB0und14 opened this issue Jun 9, 2023 · 1 comment
Open

[Bug]: Unexpected results with undo in block editor. #1216

SnowB0und14 opened this issue Jun 9, 2023 · 1 comment

Comments

@SnowB0und14
Copy link

Operating system

macOS Ventura 13.2.1

Publii version

0.42.1

Post editor

Block editor

Bug description

When using undo (command z) block editor reacts unexpectedly. I pasted something, and then hit undo and it deleted some content and duplicated what was left, hit command z again and it tripled.

Steps to reproduce

Type something into a paragraph section, paste some other text into it, press (command z). Press (command z) again and it should double or triple what was in the text box.

Relevant log output

No response

@swanhtet1992
Copy link

I also faced this bug. For me it was not just undo. Simply deleting a text from a block also created unexpected behavior. For example, if you select a piece of text within a block and hit the delete button, the whole block merged with the block above. And if you hit undo in that merged block, everything that you have written below disappeared. You cannot get those back again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants