-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Cut, copy and paste create additional undo step #781
Comments
While this is a bit strange, I confirmed that this is the first bad revision. Unfortunately, we've been merging so many things at that moment (e.g. license updates) that it didn't help in understanding what caused the problem. |
I confirmed that this issue can be reproduced with only the Which doesn't help at all. |
The bug is caused by non-document operations that create an (empty) undo step, while they shouldn't. I am on it. |
Will be fixed by ckeditor/ckeditor5-undo#80 |
Fix: Do not register batches which have only non-document operations. Closes #79. Closes ckeditor/ckeditor5#781.
π Is this a bug report or feature request? (choose one)
π» Version of CKEditor
Latest master.
π Steps to reproduce
β Expected result
There is only one undo step.
β Actual result
There are two undo steps. After performing second undo, editor crashes.
π Other details that might be useful
GIF
Error
Notes
Here is first bad commit - b279e7e
Other information
OS: Windows 10, macOS X
Browser: All browsers
The text was updated successfully, but these errors were encountered: