-
Notifications
You must be signed in to change notification settings - Fork 58
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
Allow media within media & text block to be selected #1607
Comments
👋 @pinarol , can this one perhaps be moved to a GutenPages project? |
That would be interesting, but I wouldn't try to fake it just for mobile. We can explore what it'd take to make media-text use inner blocks, but I think we might hit some limitations of the format. For the media part, we'd have two options:
It would also seem interesting to explore how to implement cardinality constraints on InnerBlocks, so you can specify a maximum of 1 child. That could also help with the issues we were discussing around columns and the insert/remove behavior when the number of items is constrained. |
It's confusing that you can't select the media part of the Media & Text block but you can select the other side's blocks. The result of this is that you don't get the associated controls and interactions that a "normal" image or video block would offer. In other words, I would expect the media side to act as InnerBlocks of the Media & Text block.
To Reproduce
Steps to reproduce the behavior:
Example
The text was updated successfully, but these errors were encountered: