H2 Doesn't Remain Centred With Gutenberg
-
Dear Sir/Madam,
Whenever I create an article, I would position my subheadings to the centre via the Gutenberg editor. Unfortunately, my subheaders do not stay centred when I publish my blog posts (It ends up on the left-hand side). In order to fix this issue, I have to revert to the old editor and place my subheadings back to the centre position (Which in my opinion is ridiculous).
Could someone at WordPress fix this?
The Gutenberg editor is the future of WordPress.
I hereby grant the Happiness Engineers permission to check out my blog to make any necessary changes to the code in the Gutenberg editor on my side.
Yours Respectfully,
Renard MoreauThe blog I need help with is: (visible only to logged in users)
-
Hello there!
I just tried testing this out on my own site and was not able to duplicate it. Here’s what I’m seeing:
https://cloudup.com/cL3d2N4zbEa
For what it’s worth, it’s possible the bug has already been found and fixed for my version — in which case you’ll see the fix soon. You might be able to confirm that if you go to https://horizon.wordpress.com and try editing the post there. Gutenberg is indeed the future of WordPress (so thanks for being willing to file a bug), and that site shows the near future for WordPress.com.
Otherwise, can you take a look at the editor screenshot I included, and confirm you’re using the same options I’m using there?
-
I posted a new blog post to see if everything was rectified; things are still the same.
Once again, I had to revert to the old WordPress editor in order to place the subheading back into the centre position.
-
Can you confirm that you’re using the same options in the screenshot that my colleague posted?
-
-
Thanks @renardmoreau. Would you mind posting — or even just drafting a test post — using the same steps I mentioned and leaving it that way, so we can see what you’re seeing? If you make a public post, share the link here. If you opt for a draft or private post, just let us know the title so we can take a look.
-
I just made a test post in the form of a draft.
You would see that the subheader is centred in the draft copy.
If I were to publish it, the subheader would end up being aligned to the left.
-
This is indeed odd. When previewed it’s still centered too: https://cld.wthms.co/W0A4sp
The preview should match the published copy exactly.
I’d like to see publishing it in action, but of course don’t want to launch a post on your site.
Would you mind drafting this again as a Page instead of a Post? That will have little-to-no impact on the site when we publish and then swiftly delete it.
-
You’ve got us double-teaming this, @renardmoreau — so much for the idea that WP doesn’t care about free users! ;)
staff-blorbo is seeing centered on your preview, but I am not. We’re checking in with some theme devs to see if they know why.
As it’s late for most of that team, it might be tomorrow before we’re able to update you, but we’ll let you know what we find.
-
As suggested here is the URL for the page created: https://renardsworld.wordpress.com/commenting-policy/
You will notice that the subheading is aligned to the left even though it was set to be in the centre.
I truly hope that the Happiness Engineers can fix this.
-
Okay, it looks like this is a known issue and a developer is already working on a fix. We’ll let you know as soon as that fix is complete.
-
Renard, just noting the issue is filed here if you want to follow it:
https://github.com/Automattic/wp-calypso/issues/34932
We’ll be following and will try to update you here when it’s cleared.
Apparently it’s caused when the user isn’t opted into the block editor. My colleague viewed the preview as himself; I viewed it as you (without changing your account settings, of course) and I think that was the main difference in our experiences.
-
I would like to personally thank all of the Happiness Engineers for all of their efforts in trying to get this issue fixed.
I am hoping that the developers come up with a solution in a timely manner.
It looks as though I would have to revert to the old WordPress editor until the technical issue with the Gutenberg editor is rectified.
P.S. I still think that the Gutenberg editor is amazing!
-
This should be fixed now, and looking at your site I now see the headings center-aligned whether I’m logged in or out.
Please let me know if you still see them displaying incorrectly anywhere.
-
I can confirm that the problem has been rectified.
I marked the issues as “Resolved”.
Thank you for a job well done!
-
- The topic ‘H2 Doesn't Remain Centred With Gutenberg’ is closed to new replies.