Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#55884 new defect (bug)

Image aligned center disappears in the editor

Reported by: stinkykong's profile stinkykong Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: reporter-feedback
Focuses: Cc:


An old bug returns. In the editor window, when you align an image to center, it disappears in the editor but still is visible when looking at the published page/post. See attached screenshot of the editor.

Change History (3)

#1 @sabernhardt
2 years ago

  • Component changed from General to Editor

This might involve the (child) theme stylesheet. I tried centering a JPEG inside a Genesis Blocks "Container" block using Twenty Twenty-Two (and again with the Genesis Sample theme), and the image still displayed in the editor.

Block editor-related reports belong on the Gutenberg GitHub repository, so could you open an issue there if it is not the theme but something else I missed?

#2 @stinkykong
2 years ago

I acted too fast, my apologies. I see the problem doesn't exist on another site with the same child theme. I'll have to get approval from this site's owner to work further on this. I don't think the theme is the issue but perhaps a plugin conflict but that's just a guess.

#3 @sabernhardt
2 years ago

  • Keywords reporter-feedback added

Then it probably is not the theme. When you test again, could you try adding the same image in both sites' posts (if you have not done so already)?

Note: See TracTickets for help on using tickets.