[wp-trac] [WordPress Trac] #60809: .editor-styles-wrapper styles opacity changed
WordPress Trac
noreply at wordpress.org
Wed Mar 20 03:57:30 UTC 2024
#60809: .editor-styles-wrapper styles opacity changed
-------------------------------------+-----------------------------
Reporter: killerbeez | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: major | Keywords:
Focuses: ui, css, administration |
-------------------------------------+-----------------------------
In WordPress 6.4.3, the block editor automatically applies this to
.editor-styles-wrapper:
.editor-styles-wrapper.mce-content-body, .editor-styles-wrapper.editor-
styles-wrapper {
opacity: 1;
}
While testing WordPress 6.5, this no longer occurs. Our theme has
'opacity: 0' applied to the body, and we use jquery to change it to
'opacity: 1' when the DOM is loaded. This means that in 6.5, our block
editor has 0 opacity.
The issue for us is that this also applies to the block editor and as a
result we see a grey box instead of the blocks of content.
In testing with WordPress Alpha 6.6 or with the latest gutenberg activated
this doesnt appear to the case, is there a reason this was removed from
the 6.5 core?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60809>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list