-
Notifications
You must be signed in to change notification settings - Fork 58
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
fix: Prevent unnecessary content changes clearing redo actions #6462
fix: Prevent unnecessary content changes clearing redo actions #6462
Conversation
Seems |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved via WordPress/gutenberg#57028 (review) 🎊 .
Fix for undefined
is not a function at getBlockInserterUsed
@dcalhoun Note that I added b91caf0 to fix another case of RichText
value comparison. It can be tested with the following testing instructions:
- Build the app and connect it to a local Metro server. This is needed as the exception can't be seen in non-development builds.
- Create a post.
- Select the first Paragraph block.
- Press the enter key to create a new paragraph.
- Observe that no exception is thrown.
I already tested this case and confirmed that is no longer happening.
Test Android on Device - Full
CI job failed in 4bc4ffe
Regarding #6462 (comment), since the E2E tests failing (see below list) seem unrelated to the writing flow, I'd say it's safe to merge.
- Test Suite 4 › Group block › should traverse up and down nested blocks
- Test Suite 4 › Group block › should navigate between nested blocks
…into version-toolkit/gutenberg/fix/prevent-unnecessary-content-changes-clearing-redo-actions
Related PRs
Description
This PR is generated by
version-toolkit
to downstream the changes forgutenberg
submodule.