[wp-trac] [WordPress Trac] #56813: Heading Block Margin Issue

WordPress Trac noreply at wordpress.org
Thu Oct 13 08:08:35 UTC 2022


#56813: Heading Block Margin Issue
----------------------------+------------------------------
 Reporter:  piyushpatel123  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  General         |     Version:  6.0.2
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  ui
----------------------------+------------------------------

Comment (by poena):

 Hi!
 Thank you for the report and the screenshots.

 Can you include any more details on how to reproduce this in Twenty
 Twenty, and what the expected result is?
 Twenty Twenty does not have editor controls for margins on the heading
 block, did you disable all plugins?


 I apologize if this is too technical, or not technical enough:

 In block themes the left and right margin of the block in the block editor
 is limited by the post content block. Everything we add in the block
 editor when a block theme is active, is placed inside the post content
 block, we just don't see it in the editor.
 The left and right margins are set to {{{auto}}} to make sure that the
 block is positioned correctly both when there are no alignments, and when
 the block is set to wide or full width.

 -There is a work around, and that is to wrap the heading inside a group
 block, and toggle off the layout setting "Inner blocks use content width".


 For me the main question is how we can update the interface to help users
 understand why the option only works sometimes.

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


More information about the wp-trac mailing list