-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first timeNeeds DevReady for, and needs developer effortsReady for, and needs developer efforts[Block] Latest CommentsAffects the Latest Comments BlockAffects the Latest Comments Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Describe the bug
Centering this block in the editor shows correctly in the preview, but on the front-end it is still left-aligned.
Right-aligning the block in the editor does not right-align it in either the editor preview or the front-end.
This block seems to get the class aligncenter
added to it regardless of the editor settings.
To Reproduce
Steps to reproduce the behavior:
- Add a Latest Comments block
- Center it and publish the post
- Note that it is centered in the editor, but not the front-end
- Right-align it and update the post
- Note that it appears left-aligned both in the editor and the front-end
Expected behavior
Alignment options should work and the front-end view should match the editor preview.
Screenshots
Centered in editor:
Front-end display:
Right-aligned in editor:
Desktop (please complete the following information):
- OS: OSX
- Browser: Firefox
Metadata
Metadata
Assignees
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first timeNeeds DevReady for, and needs developer effortsReady for, and needs developer efforts[Block] Latest CommentsAffects the Latest Comments BlockAffects the Latest Comments Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended