[wp-trac] [WordPress Trac] #57688: File Block: Missing backward compatible styles for classic themes
WordPress Trac
noreply at wordpress.org
Fri Feb 10 03:29:37 UTC 2023
#57688: File Block: Missing backward compatible styles for classic themes
--------------------------+-----------------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Gutenberg issue: https://github.com/WordPress/gutenberg/pull/47686
The button element styles were moved from each block to theme.json
(https://github.com/WordPress/gutenberg/pull/41822). And the style for
representing the download button in the file block has also been removed
from the block's stylesheet. Since there are no backward-compatible styles
for the file block, classic themes without theme.json will apply unnatural
styles.
Editor-side styles were fixed by Gutenberg's PR:
https://github.com/WordPress/gutenberg/issues/45399
However, if we want to apply this style to the front-end side, we need to
update the file (`src/wp-includes/css/classic-themes.css`) included in the
WordPress core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57688>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list