-
Notifications
You must be signed in to change notification settings - Fork 18
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
Layout grid appears to be missing need column start #153
Comments
😭 |
Using 9.2 locally, and 9.1 on WP.com. Does it happen on WP.com? Do you have some kind of RTL setting enabled? |
What theme are you using? |
I was given access to https://wordpress.com/page/freeplantest.wordpress.com/5 from #152 and there it works 🤯 When I try the block-experiments plugin on my local docker install of Gutenberg (9.1 in this particular branch), same content, I see this: That's the same chrome, this content:
And it's the same in Firefox, Safari, Chrome. I don't have any RTL settings enabled, this is stock docker/gutenberg master. |
Alright, it appears that there was something my own custom WordPress theme caused in terms of interference, because it works fine when I use TwentyNineteen or TwentyTwenty. Closing this one for now, but will add a comment if I figure out which part of my theme broke it. |
Yep, this one is definitely my fault. I had some debugging CSS left in my theme code:
|
Not entirely sure whether this is a recent change to browsers or a regression in the plugin, but by default inserting a layout grid at the moment does this for me:
What happens there is that column 2 is first, and column 1 is after that. Column 1 appears to be missing a CSS class to indicate its starting index to be layout rail 0, that class being
column1-grid__start-1
. If I add that class, it works:There may be some JS smartness involved, causing the breakage:
This behavior is the same for me regardless of WordPress, plugin, or browser version.
The text was updated successfully, but these errors were encountered: