Skip to content

Conversation

@aduth
Copy link
Member

@aduth aduth commented Jul 26, 2019

Extracted from #16761

This pull request seeks to remove inadvertent arguments passing to PostSavedState onSave prop. Without these changes, the event object of the mouse click on "Save Draft" is interpreted as the options argument of savePost.

Testing Instructions:

Ensure unit tests pass:

npm run test-unit packages/editor/components/post-saved-state/test/index.js

Verify there are no regressions in using the "Save Draft" button to save a post.

@aduth aduth added [Type] Bug An existing feature does not function as intended [Package] Editor /packages/editor labels Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Editor /packages/editor [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants