[wp-trac] [WordPress Trac] #48718: Twenty Twenty: Block Left/Right Align Display Issues

WordPress Trac noreply at wordpress.org
Tue Nov 19 06:03:35 UTC 2019


#48718: Twenty Twenty: Block Left/Right Align Display Issues
-----------------------------------------+------------------------------
 Reporter:  JarretC                      |       Owner:  nielslange
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Bundled Theme                |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:
-----------------------------------------+------------------------------

Comment (by JarretC):

 Replying to [comment:5 poena]:
 > Aligning it left or right of ''something'' works, but it doesn't work
 when it is the only item.
 What did you align it with to get it working? I tried left aligning an
 image block and then setting up a paragraph block

 [[Image(https://i.snipboard.io/bGiEM5.jpg)]]

 But the display is still off. This is what I have in the code editor


 {{{
 <!-- wp:image {"align":"left","id":1948,"sizeSlug":"large"} -->
 <div class="wp-block-image"><figure class="alignleft size-large"><img
 src="http://localhost:8888/wp-content/uploads/alot-of-bugs.gif" alt=""
 class="wp-image-1948"/></figure></div>
 <!-- /wp:image -->

 <!-- wp:paragraph {"align":"left"} -->
 <p class="has-text-align-left">Paragraph block</p>
 <!-- /wp:paragraph -->
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48718#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list