Skip to content

Preserve native text/video grids and editable Media Library videos - #3586

Merged
chubes4 merged 2 commits into
trunkfrom
fix/issue-3583-blocks-engine
Oct 27, 2026
Merged

chubes4 merged 2 commits into
trunkfrom
fix/issue-3583-blocks-engine

Conversation

@chubes4

@chubes4 chubes4 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #3583: video grids no longer become invalid media-text blocks. Imports preserve source order and the 860px breakpoint; browser-measured heading and video geometry now matches the reduced source at 390, 768, and 1440px.

What changed

  • Keep video panes in native group layouts with editable core/video attributes.
  • Remove unsupported media-text video serialization carriers.
  • Match Gutenberg’s default preload save shape and preserve percentage-fill video geometry.
  • Bind video attachment IDs through the existing Media Library resolver.
  • Add reduced-fixture coverage for import, attachment resolution, Gutenberg save validation, and browser geometry.
  • Video/text imports now produce groups containing core/video instead of core/media-text. Image conversion remains unchanged.

Verification

  • cd php-transformer && composer install --no-interaction --quiet && composer test:unit && composer test:canonical && composer lint passed on 95709f3. Base trunk@e2a8c8c unchanged.
  • CI: pending
Cook run
  • Gate 1: tree 913f1402dd67ec8f085e0a8104756f48c0882251, fingerprint c7721a3c3c2f3cc36145db624df0ce6ba8336181bef69c5164088664f95aa542
  • Publication identity: ambient_gh

AI assistance

Tool: Homeboy (pi) · Model: gpt-6.1-sol (tier roadie/cook-heavy) · Used for: cook-heavy running in the Pi coding agent reproduced the issue, implemented the fix, added regression tests, and ran validation.

Closes #3583

@chubes4
chubes4 merged commit 16fd1f3 into trunk Oct 27, 2026
16 of 17 checks passed
@chubes4
chubes4 deleted the fix/issue-3583-blocks-engine branch October 27, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text + video grid becomes an invalid core/media-text that ignores the source breakpoint

1 participant