You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Center aligning a few lines of code along with a heading only the heading is center aligned. But this happens only for the main heading. The center aligning works fine for any other heading in between the content. GIF for reference:
(test conducted on main branch)
I think this could be because of <center> tag being a block-level/inline element. The content is centered horizontally within its containing element. The possible problem could be that the first heading is not wrapped in the same element as the content body.
Update
When testing this in markdown mode and found out that center aligning in markdown and converting to rich text works fine but the heading is not rendered as heading, GIF uploaded :
The text was updated successfully, but these errors were encountered:
Was testing this in md mode and found out that center aligning in markdown and converting to rich text works fine but the heading is not rendered as heading, GIF uploaded :
When Center aligning a few lines of code along with a heading only the heading is center aligned. But this happens only for the main heading. The center aligning works fine for any other heading in between the content. GIF for reference:
(test conducted on main branch)
I think this could be because of
<center>
tag being a block-level/inline element. The content is centered horizontally within its containing element. The possible problem could be that the first heading is not wrapped in the same element as the content body.Update
When testing this in markdown mode and found out that center aligning in markdown and converting to rich text works fine but the heading is not rendered as heading, GIF uploaded :
The text was updated successfully, but these errors were encountered: