Opened 6 months ago
Last modified 5 months ago
#60809 new defect (bug)
.editor-styles-wrapper styles opacity changed
Reported by: | killerbeez | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.5 |
Component: | Editor | Keywords: | reporter-feedback close |
Focuses: | ui, css, administration | Cc: |
Description (last modified by )
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 doesn't appear to be the case, is there a reason this was removed from the 6.5 core?
Change History (18)
#1
@
6 months ago
- Component changed from General to Editor
- Description modified (diff)
- Version set to trunk
This ticket was mentioned in Slack in #core-editor by jorbin. View the logs.
6 months ago
#4
follow-up:
↓ 5
@
6 months ago
Hi there! would you be able to share the theme (or a small theme that we can reproduce this with). There are different rendering modes in the block editor that are triggered depending on the kind of themes we're talking about.
Things like the presence of meta boxes or third-party blocks in the editor can also change the way the editor is rendered. In some situations the editor is rendered within an iframe but in others no. Would you be able to check whether your site renders the editor canvas within an iframe or not.
#5
in reply to:
↑ 4
@
6 months ago
Replying to youknowriad:
Hi there! would you be able to share the theme (or a small theme that we can reproduce this with). There are different rendering modes in the block editor that are triggered depending on the kind of themes we're talking about.
Things like the presence of meta boxes or third-party blocks in the editor can also change the way the editor is rendered. In some situations the editor is rendered within an iframe but in others no. Would you be able to check whether your site renders the editor canvas within an iframe or not.
Hi there, appreciate you and everyone looking into this, if possible, could we give you access to a fresh/clean build of our theme as it would be a little tricky to package into something installable without the entire site. If that idea suits, and you gave us an email etc, we could then create admin and ftp details to send.
#6
follow-up:
↓ 8
@
6 months ago
- Keywords reporter-feedback added
- Milestone changed from 6.5 to 6.5.1
Potential candidate for 6.5.1, but needs more information.
It would be great to share a minimum viable reproduction theme instead of sending emails or FTP credentials or whatever.
#8
in reply to:
↑ 6
@
6 months ago
Replying to swissspidy:
Potential candidate for 6.5.1, but needs more information.
It would be great to share a minimum viable reproduction theme instead of sending emails or FTP credentials or whatever.
Ok, where should i email it?
This ticket was mentioned in Slack in #core by jorbin. View the logs.
6 months ago
#10
@
6 months ago
@killerbeez You can upload a zip to this ticket. It does not need to be the full theme, just the minimum required to demonstrate the issue.
#11
@
5 months ago
@killerbeez Could you please upload the theme here? will be glad to have a look for the solution. Thank you
This ticket was mentioned in Slack in #core by jorbin. View the logs.
5 months ago
#15
@
5 months ago
Hi @killerbeez ! Checking in: are you able to upload the theme (or a partial version) to this ticket that we can use to reproduce the issue?
Though the symptoms are different, I wonder if this may be a duplicate of #60614. Moving to 6.5 for visibility.