-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Blocks that use entities are not saved in the widget editors #32756
Comments
Just noting we could consider disabling these blocks in the widgets editors as a temporary solution for 5.8. |
I'd say that would be reasonable for 5.8. Whilst it's not ideal to lose these blocks, it seems like given its scope this could be quite a large issue to solve in such a short space of time. |
In case we need it (which I think we will) here is a PR that disables all the FSE blocks in the Customizer. I'd appreciate some input on which blocks we can safely retain (if any): |
Thinking about what other options there are.
|
Might be worth mentioning that the "Preview" feature also doesn't work for FSE blocks even in the post editor. This might be related, as the problem could be in the FSE side but not in the widgets screen. Maybe we should fix it there, not sure though. I know very little about FSE 😅. Kapture.2021-06-18.at.16.33.36.mp4
This should be possible, hacky, but possible. We might just need to attach an event to the publish button and call |
Good spot. I wonder if that's a known issue. |
Let's move forward with @getdave 's PR that disables the FSE blocks in widget areas. These blocks are quite new and they're not meant for classic themes anyway, yet at least. |
I've raised a followup in #32952 to track the need to reinstate these blocks in future. |
Description
When using a full site editing block (e.g. Site tagline) or reusable blocks in the widget editors, changes to those blocks are not being saved.
I imagine the issue is that the widget editor doesn't save all the edited entities. This also exposes the question of whether the editor now needs to replicate the UI that the post and site editors have for entities. I think the answer to that is 'yes', but it might be a challenge in the customizer.
An additional thing to mention is that in the customizer changes to those entity based blocks are not being reflected in the preview
Step-by-step reproduction instructions
Expected behaviour
Changes to the blocks are kept
In the customizer, changes are shown in the preview
Actual behaviour
Changes to the blocks are lost
In the customizer, changes are not shown in the preview
The text was updated successfully, but these errors were encountered: