Opened 8 weeks ago
Closed 8 weeks ago
#63138 closed enhancement (reported-upstream)
No way to alter alignment of image captions in Image block
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
The Image block has alignment settings that are not picked up by an image's caption. For example, if the Image block is set to align center and the "aligncenter" class is added to its <figure> element, the <figcaption> element is still aligned left. There is no way via the editor to align the caption.
For me and for our client who reported the issue, it seems intuitive that the caption's alignment would match that of the image.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi and thanks for the report!
Editor interface changes belong on the Gutenberg repository, and it has at least two related issues where you could follow and/or join the discussion.
https://github.com/WordPress/gutenberg/issues/12997
https://github.com/WordPress/gutenberg/issues/19975