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

Fixed content not restored on undo when multiple blocks and widgets were removed #8872

Merged
merged 3 commits into from
Feb 2, 2021

Conversation

scofalik
Copy link
Contributor

Suggested merge commit message (convention)

Fix (engine): Fixed content not restored on undo when multiple blocks and widgets were removed. Closes #8870.

@@ -78,7 +78,7 @@ describe( 'transform', () => {

john.undo();
syncClients();
expectClients( '<paragraph>Foo</paragraph><paragraph>Bar</paragraph><paragraph></paragraph>' );
expectClients( '<paragraph>Foo</paragraph><paragraph></paragraph><paragraph>Bar</paragraph>' );
Copy link
Contributor Author

@scofalik scofalik Jan 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old expectation was incorrect (worse UX wise) than the new one. The new expectation actually returns to the state before any changes...

@scofalik
Copy link
Contributor Author

scofalik commented Feb 2, 2021

@ckeditor/qa-team Please please check :)

Please check scenarios invloving merges/splits, other actions and undo.

@niegowski niegowski self-requested a review February 2, 2021 12:31
Copy link
Contributor

@niegowski niegowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Waiting for confirmation from QA.

@Mgsy
Copy link
Member

Mgsy commented Feb 2, 2021

We've tested it and looks good 👍

@niegowski niegowski merged commit 385234a into master Feb 2, 2021
@niegowski niegowski deleted the i/8870 branch February 2, 2021 15:20
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

Successfully merging this pull request may close these issues.

Undo: paragraphs not restored when undoing image+text deletion
3 participants