-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Wrong editor size. Why not improve? #14405
Comments
This is left to the theme. The theme can tweak the width of the editor to match the frontend. See how you can add editor styles defining the width here: |
Hi @youknowriad , i am really surprised from your reply but also from the Gutenberg editor that is now standard on WordPress. How this could be happened? I believe the issue is not in the theme as i see this issue in two completely different website: one is mine with a theme and one is not mine with a completely different theme. So sorry but i cannot believe the issue is the theme also i tried to add the CSS inside the style file of the theme but this doens't solve. For solve the issue i need install a plugin for add CSS on the admin side. The issue is Gutenberg, why your editor is by default so small at the center of the screen? Also this ( #14421 ) is a theme issue? U.U |
I think #14421 is a different issue but I think there's some context that's needed here to understand the full picture:
@jasmussen would you like to add some context here? |
The CSS should be added to the editor styles and not the style loaded in the frontend. Editor styles documentation https://wordpress.org/gutenberg/handbook/designers-developers/developers/themes/theme-support/#editor-styles |
@youknowriad My webiste is peopleinside.it where i use customizr theme. I am pretty sure this issue is dependent by Gutenberg because i have access to another website where i am just an editor. This website use a completely different theme but the look of Gutenberg editor is the same. If the classic editor is active the issue is resolved. I don't understand how i can see Gutenberg is working not good and you created a guide to customize the CSS for have a better look... Also.. why in the guide is not suggested to use percentage % that adapt to the screen? So i'm seeing this issue in different websites with different themes. The issue is not present on the Classic editor. |
Hi there, and thanks for the ping Riad. There are two things going on here. The first off is the default editor style. This is what you are seeing in the screenshot — a white background, a serif text, and a centered main text column. **This is the editor style you see when the theme itself does not provide an editor style. ** Why is it not full width? For two reasons.
Here's what wide and full wide images looks like: These new features are styleable by the theme. Here's how that same thing looks like in Twenty Nineteen: As you can see, Twenty Nineteen not only changes how the wide and fullwide blocks are sized, but it even does creative things with floats. These features are created both to enable richer layouts, and to make possible a more WYSIWYG experience for themes that provide an editor style. In that vein, this is an intentional change. You could build a plugin or add CSS to a browser extension (such as Greasemonkey) that adds CSS to make the editing canvas full wide if that's what you prefer. From the support page, something like this should work:
Alternately, the theme you're using can be updated to provide an editor style that makes the editor match the theme itself. |
Thank you for the reply. I continue to be surprise this will be the default WordPress editor. So for have a great look of the editor i need install a browser plugin? This is the response? OK now i have the confirm the Gutenberg is not a positive change on my opinion and again i am not alone on thinking this. In my website after the Wordpress update... is terrible to edit page with this look of Gutenberg and i need going into code , CSS and now you suggest to use a browser plugin for fix the editor size issue... All this sound be crazy to me. I need now have an additional plugin for have a look of the editor that take the page size instead of have small text all centered on the page. Seems there are no settings in Gutenberg for let user choose what kind of experience want have with the editor, the new one that regard Gutenberg or the previous one where an editor should respect the size of the page. How this new look can be a real look i cannot understand. I am very disappointed about force user to have Gutenberg as default editor and number seems give reason to me. https://wordpress.org/support/plugin/gutenberg/reviews/ Maybe we need really consider a CMS with a different editor, i am very sad to see this change in Wordpress a CMS that i love! Seems my issue has no solution the solution is install plugin on browser, on the site for have a full screen editor that take the size of the page. Also Firefox seems have issue opening sometime Gutenberg editor it be frozen for some minutes. I try to love and understand Gutenberg but more i try more i see there is a wall. |
@PeopleInside Gutenberg was in the making for more than 2 years... All theme developers knew that this was coming in WordPress core and it was their responsibility to update their themes and make them better for the new editing experience. |
@aristath I believe you are one of the fan of Gutenberg. |
Describe the bug
In different Wordpress website i see a wrong view of Gutenber editor.
Why the editor is so small in the center of the screen?
Seems much better if the CSS
is changed with:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Editor take the size of the screen and the page.
Screenshots
With my CSS edit much better:
Desktop (please complete the following information):
Additional context
Wordpress support topic: https://wordpress.org/support/topic/many-issues-on-this-new-default-editor-really-worried-about-the-future/
The text was updated successfully, but these errors were encountered: