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

fix: Clicking cancel in the block editor deletes all the unsaved blocks #2578

Merged
merged 1 commit into from May 23, 2024

Conversation

zeezo887
Copy link
Collaborator

@zeezo887 zeezo887 commented May 3, 2024

Description

When the block editor contains no blocks, window[process.env.VUE_APP_NAME].STORE.form.blocks currently defaults to an empty array instead of the required empty object. This discrepancy leads to improper saving of the state

Related Issues

Fixes #2571

@ifox ifox merged commit afce6cb into area17:3.x May 23, 2024
9 checks passed
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.

Clicking cancel in the block editor deletes all the unsaved blocks
2 participants