-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page/Post editor: grey border appears on either side of the editor when using a classic theme with Jetpack blocks enabled #40678
Comments
OpenAI suggested the following labels for this issue:
|
I tested this on WordPress.com, Simple, AT and self-hosted and with Twentyseventeen and Twentysixteen, the results were the same. The border showed up on all sites, without any differences. Is there another feature or information I'm missing in this context @annezazu? |
Hey Robert! I cannot replicate on a self hosted site per this playground link: https://playground.wordpress.net/?plugin=gutenberg&theme=twentyseventeen Can you give me an example of a self hosted site where you can with Twenty Seventeen? |
@annezazu Sure! Tested on Pressable: https://psbbobwoo2020com.mystagingwebsite.com/ But wait. After further testing, it turns out it's the Jetpack blocks module that's causing the side margins. Here's a short video: CleanShot.2024-12-19.at.09.08.27.mp4Mystery solved! :) @jeherve I've moved this to Jetpack for now. |
That seems to be because when Jetpack blocks are active, the post editor doesn't use the iFramed editor, and that editor has a gray margin. I'm not quite sure if the gray margin the expected behavior with the non-iFramed editor, since that margin and the background color come from Core ; here are 2 related PRs for example: WordPress/gutenberg#62223 Interestingly, I would have expected the iFramed editor even when using Jetpack blocks, since we moved to version 3 of the API for all our blocks earlier this year, in #34120. I looked into it, and it seems we did not upgrade to v3 for some of our child blocks. We'll need to do that in #40685. |
Amazing sleuthing! Thank you, folks. |
I noticed today while doing some testing on a simple site with classic themes, like Twenty Seventeen, that there's a grey border/padding on either side of the editor when writing a new post or page:
I can't replicate this in Core on Playground with GB installed + Twenty Seventeen: https://playground.wordpress.net/?plugin=gutenberg&theme=twentyseventeen It seems WordPress.com specific.
The text was updated successfully, but these errors were encountered: