I'm having an issue where, if I edit any matrix content in Live Preview, all matrix content disappears.
When I first open preview, any existing matrix content will display properly, but as soon as I add a new block, or edit the contents of an existing block, all matrix content gets removed from the preview.
This also happens when I edit matrix content before opening live preview -- when I open preview, all matrix content will be gone.
Nothing is deleted from the editor, and when I save, the content remains and displays properly on the front end. It's only in preview where it's an issue.
I'm running Craft 3.7.37, but I've also had the issue with previous versions.
Here's the relevant part of the template:
{% set content = entry.myMatrixField.all() %}
{% for block in content %}
{% include "blocks/_" ~ block.type ignore missing %}
{% endfor %}