-
Bug
-
Resolution: Done
-
Should have
-
None
-
2
-
Gutenberg
-
Sprint #117, Sprint #118
Requestor's email: ktolen@greenpeace.org
Requestor's Skype:
Description of the issue: When embedding an image into a post and then
choosing to centre the image, the blue overlay caption is adversely
affected.
Centre appears to add a div class:
<div class="wp-block-image caption-style-blue-overlay
caption-alignment-center"><figure class="aligncenter size-large"><img
src="https://storage.googleapis.com/planet4-international-stateless/2019/12/4091fe6a-gp0sttjfw-1024x683.jpg"
alt="Armed Raid on Estrondo Estate in the Cerrado. © Greenpeace"
class="wp-image-27614"/><figcaption>During a visit in May 2019 to a
community in the Estrondo Estate, Greenpeace Brazil and accompanying
journalists were caught up in an armed raid, witnessing first-hand the
aggression used against local people. ©
Greenpeace</figcaption></figure></div>
(NB. I have of course fixed this example on our live environment so this
will need to be recreated on staging. Also note, I have not tested this
with align left/right)
Attachments:
https://drive.google.com/open?id=1QNYVEichOJXLPiRkce6rC23muLNQPEEi
- relates to
-
PLANET-4441 #405833: Text wrapping around image doesn't work
- CLOSED