#61186 closed defect (bug) (fixed)
Twenty Nineteen: Apply center alignment to Archives and Categories List blocks in the editor
| Reported by: | pranitdugad | Owned by: | karmatosed |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.7 |
| Component: | Bundled Theme | Version: | 5.0 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: | ui, css |
Description
Twenty Nineteen: Archive Block Alignment is set to centre and it's not working for centre alignment only in the backend.While on frontend its shows centre aligned block . Below is video for the same.
Video: https://jmp.sh/AQV9wZOk
Change History (9)
This ticket was mentioned in PR #6548 on WordPress/wordpress-develop by @sabernhardt.
2 years ago
#2
- Keywords has-patch added; needs-patch removed
When users select center alignment for Archives or Categories List blocks, this would make the editor style match the text alignment used on the front end.
#3
@
2 years ago
- Focuses css added
- Summary Twenty Nineteen: Archive Block Alignment is not working in backend → Twenty Nineteen: Apply center alignment to Archives and Categories List blocks in the editor
- Version → 5.0
@sabernhardt commented on PR #6548:
2 years ago
#4
Thanks for testing. I did not have the editor wide enough to notice the difference clearly.
However, the block alignment is actually correct for these blocks but not for the title, Paragraph blocks, etc. The front end centers .entry-content according to the page, and blocks within there align to the (left) side. The iframe editor aligns (most) blocks to the center of the canvas. Fixing that would belong on a separate ticket to test many more blocks and situations (possibly repurposing 53872, though a new ticket could be more appropriate).
#5
@
2 years ago
- Owner set to
- Status new → assigned
I am going to assign this to myself to test in order to decide what to do next, thanks everyone.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It isn't that this doesn't centre align for me. What happens is that you see it central on the front, however due to variations in not having editor styles it seems to not do for the editor itself.
I tried to do a few other themes just incase this was a block issue and can confirm it is in fact a theme issue.