[wp-trac] [WordPress Trac] #58815: Optinionated styles (add_theme_support(wp-block-styles)) set margin top to 0 for image and other blocks

WordPress Trac noreply at wordpress.org
Mon Aug 14 07:39:15 UTC 2023


#58815: Optinionated styles (add_theme_support(wp-block-styles)) set margin top to
0 for image and other blocks
--------------------------+------------------------------
 Reporter:  aileenf       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  6.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by aileenf):

 Hi,
 This issue still exists in the newly released version of WP 6.3.  Does
 this mean that there is no plan to address this?  I know it's not a big
 issue compared to some, but it does directly affect existing content, and
 there is no easy CSS override, because of the style hierarchy.

 Do I need to remove

 {{{
 add_theme_support('wp-block-styles')
 }}}
 from my themes? (And add any extra styles eg for blockquotes and
 separators in my own stylesheet?)

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


More information about the wp-trac mailing list