Skip to content
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

Post Edit Screen Restricted by Metaboxes #63882

Closed
2 tasks done
PC888 opened this issue Jul 24, 2024 · 17 comments · Fixed by #64639
Closed
2 tasks done

Post Edit Screen Restricted by Metaboxes #63882

PC888 opened this issue Jul 24, 2024 · 17 comments · Fixed by #64639
Assignees
Labels
[Feature] Meta Boxes A draggable box shown on the post editing screen [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@PC888
Copy link

PC888 commented Jul 24, 2024

Description

Hey guys,

I’ve recently noticed that any meta boxes below the content in the Post Editor restrict the size of the editing window i.e. jam the last block hard against the bottom of the editing window, forcing me to add several blank paragraphs, in order to get some ‘breathing space’. Yoast was the plugin in question but the Custom Fields meta box, toggled on from the block editor preferences, has exactly the same effect. If I deactivate the plugin or toggle off the Custom Field UI the issue goes away.

I opened a ticket here >> https://wordpress.org/support/topic/post-edit-screen-restricted-by-yoast-metabox/#post-17908765 for further info...

Image 1. I’ve enlarged the image slightly to try and make it a bit clearer. You should be able to see how the last

block is jammed hard against the bottom of the editor window.
wp-support-post-editor-image1

Image 2. I’ve collapsed the Yoast Meta Box and now the last

block is jammed against the bottom of my browser window. The content won’t scroll up to raise the last block to a comfortable working height in the editor. I have to add several empty

blocks instead…
wp-support-post-editor-image2

Image 3. I’ve deactivated Yoast and this is how I seem to remember it being…
wp-support-post-editor-image3

I have experienced this in the past and IIRC a subsequent update resolved the issue…

Paul

Step-by-step reproduction instructions

Blank WP install with TT4 active
Toggle on Custom Fields
Drop some Lorum Ipsum into a new post

Screenshots, screen recording, code snippet

wp-support-post-editor-image1
wp-support-post-editor-image2
wp-support-post-editor-image3

Environment info

WP 6.6 and TT4, no plugins active, Chrome browser, Mac OS 14.5

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes
@PC888 PC888 added the [Type] Bug An existing feature does not function as intended label Jul 24, 2024
@Mamaduka Mamaduka added the [Feature] Meta Boxes A draggable box shown on the post editing screen label Jul 24, 2024
@talldan
Copy link
Contributor

talldan commented Jul 25, 2024

This was also reported in trac - https://core.trac.wordpress.org/ticket/61677

@carolinan
Copy link
Contributor

Would love to see this fixed.

@smerriman
Copy link

This isn't just a visual issue. If the last element in the editor is, say, a Media & Text block, it is actually entirely impossible to insert content at the bottom of the editor as of WordPress 6.6. Previously there was a space I could hover / click to make an inserter show up, but this is no longer the case.

@talldan
Copy link
Contributor

talldan commented Aug 1, 2024

it is actually entirely impossible to insert content at the bottom of the editor as of WordPress 6.6.

I understand it's not ideal, but I don't think it's impossible, there's the Add After option in the block options menu.
Screenshot 2024-08-01 at 10 43 52 AM

@finlay-x
Copy link

Im suprised this doesn't have more traction as an issue as I have had to downgrade multiple sites to 6.5.5 due to site editors finding it harder to add blocks.

@PC888
Copy link
Author

PC888 commented Aug 20, 2024

100% with you @finlay-x it's an awful user experience!

@talldan
Copy link
Contributor

talldan commented Aug 20, 2024

There's some work in progress to change the metabox panel for 6.7 - Try split content view with open metaboxes.

I think it should help with this issue, I'd definitely suggest giving it a test if you can and leaving feedback on that PR (The playground is a quick way to test pull requests)

@smerriman
Copy link

This really needs to be resolved before 6.7, as it was a bug introduced to with 6.6, and also needs to work for a non-iframed editor. So a brand new approach being planned for 6.7 isn't the right solution for people using WordPress now.

@talldan
Copy link
Contributor

talldan commented Aug 20, 2024

Ok, I tried a fix in #64639. There might be some reasons for it being like it was in 6.6, so we'll see what the code review feedback is.

@smerriman
Copy link

@talldan I just tested your CSS in WP 6.6 from #64639 , and while it adds a space, it's still impossible to insert content below the last block (if it's something other than e.g. plain text) by clicking in the blank space, like it was in 6.5.

This is the most frustrating part about this bug, and is what other commenters were referring to above (the difficulty of inserting blocks at the bottom).

Does this need to be reopened as a separate bug report?

@PC888
Copy link
Author

PC888 commented Aug 29, 2024

I'm with you @smerriman, I can't believe this bug fix hasn't had more traction

@talldan
Copy link
Contributor

talldan commented Sep 2, 2024

This is the most frustrating part about this bug, and is what other commenters were referring to above (the difficulty of inserting blocks at the bottom).

Does this need to be reopened as a separate bug report?

@smerriman Yeah, I discovered while working on that PR that the lack of a gap was caused by the removal of the inserter button.

I see you went ahead and created another issue though, thanks for doing that.

@paaljoachim
Copy link
Contributor

paaljoachim commented Sep 3, 2024

I have added a few comments here:
#64889 (comment)

Using WP 6.6.1
Theme: Twenty Twenty Four.
Gutenberg plugin: 19.1

I have noticed that plugins that add a metabox to the Post Editor screen cause a problem so one can not click below a current block to add a new block. I tested with Autoptimize and Yoast SEO plugins.

I reopened this issue.

@paaljoachim paaljoachim reopened this Sep 3, 2024
@t-hamano
Copy link
Contributor

t-hamano commented Sep 3, 2024

@paaljoachim This issue has been fixed by #64639. #64639 is part of the upcoming Gutenberg 19.2, so it is not fixed yet in Gutenberg 19.1.

Also, #64639 seems to be planned to be backported to WordPress 6.6.2.

@talldan talldan closed this as completed Sep 3, 2024
@talldan
Copy link
Contributor

talldan commented Sep 3, 2024

Closed again.

@paaljoachim If you look at the pull request that closed an issue, you'll be able to see which Gutenberg version it's milestoned for. You can also test that PR using the playground (https://playground.wordpress.net/gutenberg.html).

It'd be great to not re-open issues unnecessarily, there are already enough open issues 😄

@paaljoachim
Copy link
Contributor

paaljoachim commented Sep 3, 2024

It is great to hear a fix has been added!

My mistake.
Thank you for the update!

@hellofromtonya
Copy link
Contributor

Hello @finlay-x 👋

Can you share your WordPress profile username please?

With this bugfix shipping in 6.6.2, having your WP Profile username will give you a contributor credit (prop) for the release. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Meta Boxes A draggable box shown on the post editing screen [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
9 participants