Skip to content

Expose responsive media as content-only editable - #1086

Merged
chubes4 merged 2 commits into
trunkfrom
fix/1081-responsive-media-content-role
Aug 23, 2026
Merged

Expose responsive media as content-only editable#1086
chubes4 merged 2 commits into
trunkfrom
fix/1081-responsive-media-content-role

Conversation

@chubes4

@chubes4 chubes4 commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • declare the generated responsive-media content attribute with Gutenberg role: content
  • keep PHP block.json metadata and editor-side registration schemas identical
  • execute the generated editor registration in Node to prevent schema drift

Closes #1081.

Verification

  • cd php-transformer && composer test
  • 280 PHP transformer parity fixtures pass
  • package install proof passes
  • focused generated PHP/JS attribute-schema parity passes

Blocks Engine does not currently include a browser-level Gutenberg harness, so the behavioral proof is the role contract consumed by WordPress contentOnly, not an editor interaction test.

AI assistance

  • AI assistance: Yes
  • Model: OpenAI gpt-5.6-sol
  • Tool: OpenCode
  • Used for: Tracing generated companion metadata, implementing matching PHP/JavaScript schemas, and adding executable parity coverage. Chris Huber reviewed the diff and remains responsible for every line.

@chubes4
chubes4 merged commit ebea5bd into trunk Aug 23, 2026
4 checks passed
@chubes4
chubes4 deleted the fix/1081-responsive-media-content-role branch August 23, 2026 04:20
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.

Responsive media should declare its editable attribute as content

1 participant