Skip to content
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

Block Bindings: Add support for the Media & Text Block image #68637

Open
Drivingralle opened this issue Jan 13, 2025 · 2 comments
Open

Block Bindings: Add support for the Media & Text Block image #68637

Drivingralle opened this issue Jan 13, 2025 · 2 comments
Labels
[Block] Media & Text Affects the Media & Text Block [Feature] Block bindings [Type] Enhancement A suggestion for improvement.

Comments

@Drivingralle
Copy link

Drivingralle commented Jan 13, 2025

What problem does this address?

At the moment the image of the media text block inside a template can be set to a fixed image or the featured image. The block is handy to style templates and would benefit for the use of bindings.

What is your proposed solution?

Enable block bindings/overrides on the media text block's media ID attribute.

@Drivingralle Drivingralle added the [Type] Enhancement A suggestion for improvement. label Jan 13, 2025
@Mamaduka
Copy link
Member

Related: #67520.

Enable block bindings/overrides on the cover block's media ID attribute.

Is this an issue for Media & Text or Cover block?

The Media & Text already allows using a featured image, via "useFeaturedImage":true attribute. See: #51491.

@Drivingralle
Copy link
Author

@Mamaduka I meant the media text block. Have fixed my typo.

My goal is to overwrite the image (ID) of the media text block placed inside a template via a post meta field.

@Mamaduka Mamaduka added the [Block] Media & Text Affects the Media & Text Block label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Media & Text Affects the Media & Text Block [Feature] Block bindings [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants