-
Notifications
You must be signed in to change notification settings - Fork 641
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
Live Preview will show any disabled Matrix blocks #13
Comments
Nothing we can really do about this. On Live Preview requests, the Matrix field is set to whatever blocks were posted in the request, as if they had been eager-loaded. If it is undesired, the template would just need to be updated to check the blocks' statuses before displaying them. There is an argument that it could be desired though - in the same way you would expect Live Preview to show you the entire entry you are editing, even if that entry is disabled. |
Ugh fine, I ended up talking myself into this. |
Good man ;) |
Environment:
Description:
If you have a template that loops over Matrix blocks and some of those Matrix blocks are disabled, they will show up on a Live Preview request (but they won't show up on a normal, front-end request).
The text was updated successfully, but these errors were encountered: