Opened 8 years ago
Closed 8 years ago
#45188 closed defect (bug) (invalid)
Twenty Seventeen: Classic editor block buttons are italicized
| Reported by: | laurelfulford | Owned by: | laurelfulford |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 5.0 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
In the 5.0 Beta 1, the editor buttons in the classic block are inheriting the theme styles for the i tag. This is causing them to become italicized (screenshot attached).
The culprit looks like this particular style:
.editor-block-list__block i
... which is coming from importing the theme's existing editor styles into the new editor with add_theme_support( 'editor-styles' );.
Originally report: https://github.com/WordPress/gutenberg/issues/11034 and https://core.trac.wordpress.org/ticket/45045#comment:35.
(Thanks @ahortin for the report!)
Attachments (1)
Change History (3)
#1
@
8 years ago
It looks like this is affecting more than one of the default theme updates (all but Twenty Thirteen), because most of the themes set styles for i tags in the editor that are overriding the button styles.
Going to do some investigation!
#2
@
8 years ago
- Milestone 5.0
- Resolution → invalid
- Status assigned → closed
I ended submitting a PR for this in the Gutenberg repo -- given the scope of affected default themes, it seems to make more sense to fix there:
https://github.com/WordPress/gutenberg/pull/11132
I'm going to close this theme-specific report for now.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Classic block with Twenty Seventeen theme, with italicized buttons.