Problem
In code‑based content blocks (e.g. Hero), selecting a media item appears to work, but the selection is lost after saving and revisiting the content.
Expected
Media selections inside block/object fields persist after save and reload.
Repro
- Open Page Blocks → create new content.
- Add a Hero block.
- Select an image for image (media field).
- Save and reopen the content.
- Image is no longer selected.
Notes
Likely missing change events when media selection updates the hidden input, so structured fields don’t sync their JSON.