Opened 9 months ago
Closed 5 months ago
#63073 closed defect (bug) (fixed)
Twenty Twelve: theme's figcaption styles do not apply in the editor
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.8.2 | Priority: | normal |
| Severity: | normal | Version: | 5.8 |
| Component: | Bundled Theme | Keywords: | has-patch |
| Focuses: | css | Cc: |
Description
Steps to reproduce the issue.
- Activate Twenty twelve theme.
- Choose table block.
- Add some text and caption.
- Now check that in editor and front end.
Caption in table is aligned center in editor but aligned left in the front end which is not looking good.
Attachments (2)
Change History (11)
#1
@
9 months ago
- Focuses css added
- Keywords has-patch added
- Milestone changed from Awaiting Review to 6.9
- Summary changed from Twenty twelve table block having issue in caption alignment. to Twenty Twelve: theme's figcaption styles do not apply in the editor
- Version set to 5.8
Similar to #58539, the discrepancy can happen with any figcaption for blocks (including Image, Video, Embed and Table).
Twenty Twelve specified left alignment and other styles for the front end, and the editor styles should honor those again by accounting for classes before the one that begins with wp-block-.
#2
@
6 months ago
- Keywords commit added
- Milestone changed from 6.9 to 6.8.2
- Owner set to karmatosed
- Status changed from new to assigned
Thank you everyone. I am going to assign to myself to test and see about getting this into a commit.
#5
@
5 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for backport consideration (for real this time).
adjusts
editor-blocksto reflect theme's figcaption styles with the revised class order, usingtext-align: startto work around the missing.rtlclass within the iframe