-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 multi entities saved state in the post editor #47734
Conversation
Size Change: +208 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
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.
I actually I think that difference is related, but If I fix it here, I'll introduce a difference in site editor. So I'll have to look more to understand the difference between both editors. |
The failing Playwright test might be related to the changes. |
So the 1px difference is because the post editor header is 61px height and the site editor is 60px height so the issue is actually not in the "save panel". That said, temporarily, I can bump the header size of the save panel in the post editor. Solving the header height might be more complex right now. |
Flaky tests detected in 628bfb4. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4085159413
|
Cherry-picked this PR to the wp/6.2 branch. |
Follow-up to #47142
What?
In #47142 we updated the multi entities saved state component to be independent from the place it's rendered in (Don't assume it's a sidebar). It created some small issues in the post editor which are being fixed by this PR.
Testing Instructions
1- Open the post editor
2- Add a reusable block and edit it
3- Click the publish button
4- The publish sidebar should show up properly