Make WordPress Core

Opened 2 months ago

Last modified 4 weeks ago

#60809 new defect (bug)

.editor-styles-wrapper styles opacity changed

Reported by: killerbeez's profile 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 sabernhardt)

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 @sabernhardt
2 months ago

  • Component changed from General to Editor
  • Description modified (diff)
  • Version set to trunk

#2 @jorbin
2 months ago

  • Milestone changed from Awaiting Review to 6.5

Though the symptoms are different, I wonder if this may be a duplicate of #60614. Moving to 6.5 for visibility.

This ticket was mentioned in Slack in #core-editor by jorbin. View the logs.


2 months ago

#4 follow-up: @youknowriad
2 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 @killerbeez
2 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.

Last edited 2 months ago by killerbeez (previous) (diff)

#6 follow-up: @swissspidy
2 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.

#7 @swissspidy
2 months ago

  • Severity changed from major to normal

#8 in reply to: ↑ 6 @killerbeez
2 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.


7 weeks ago

#10 @jorbin
7 weeks 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 @devsahadat
7 weeks ago

@killerbeez Could you please upload the theme here? will be glad to have a look for the solution. Thank you

#12 @davidbaumwald
7 weeks ago

  • Milestone changed from 6.5.1 to 6.5.2

Milestone renamed

#13 @jorbin
7 weeks ago

  • Milestone changed from 6.5.2 to 6.5.3

This ticket was mentioned in Slack in #core by jorbin. View the logs.


5 weeks ago

#15 @grantmkin
5 weeks 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?

This ticket was mentioned in Slack in #core by jorbin. View the logs.


5 weeks ago

This ticket was mentioned in Slack in #core by jorbin. View the logs.


4 weeks ago

#18 @jorbin
4 weeks ago

  • Keywords close added
  • Milestone changed from 6.5.3 to Awaiting Review

Due to lack of response, I think this may need to be closed. Also, moving this out of 6.5.3 since it won't make it in.

Note: See TracTickets for help on using tickets.