Opened 16 months ago
Closed 12 months ago
#63073 closed defect (bug) (fixed)
Twenty Twelve: theme's figcaption styles do not apply in the editor
| Reported by: | nidhidhandhukiya | Owned by: | karmatosed |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.2 |
| Component: | Bundled Theme | Version: | 5.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | css |
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
@
16 months ago
- Focuses css added
- Keywords has-patch added
- Milestone Awaiting Review → 6.9
- Summary Twenty twelve table block having issue in caption alignment. → Twenty Twelve: theme's figcaption styles do not apply in the editor
- Version → 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
@
13 months ago
- Keywords commit added
- Milestone 6.9 → 6.8.2
- Owner set to
- Status new → assigned
Thank you everyone. I am going to assign to myself to test and see about getting this into a commit.
#5
@
13 months ago
- Resolution fixed
- Status closed → reopened
Reopening for backport consideration (for real this time).
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
adjusts
editor-blocksto reflect theme's figcaption styles with the revised class order, usingtext-align: startto work around the missing.rtlclass within the iframe