-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Image block: Add font size control for captions #34643
Comments
Changed the title to |
Just adding some cursory experimental findings. I added typography block support to the Image block and gave the Works fine, albeit the default figcaption font size inherits from up the tree somewhere, in the example below, from The So to keep the status quo we'd need to ensure that the 13px from the mixin is the default until a user-defined font value is detected. I'm not so sure that typography support on the Image block is even appropriate. Perhaps we could had something to the block inspector toolbar? |
+1 this would be really useful! In addition, it would be great to be able to edit the alignment of the caption to be center, left and right aligned. |
@scruffian Think this is good to close, now that we have captions in Global Styles via #34643? |
Happy to close this for now. If we feel like we need per-block control we can open another issue. |
What problem does this address?
Themes need a way to control font size of captions for image blocks.
What is your proposed solution?
We could add a control for font size to the block and have it target captions with
experimentalSelector
. Alternatively we could add support forfigcaption
to the elements part of Global Styles.The text was updated successfully, but these errors were encountered: