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

Registering a lot of meta boxes results in a small editor screen #11482

Closed
websupporter opened this issue Nov 5, 2018 · 2 comments
Closed

Registering a lot of meta boxes results in a small editor screen #11482

websupporter opened this issue Nov 5, 2018 · 2 comments
Labels
[Feature] Meta Boxes A draggable box shown on the post editing screen [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Bug An existing feature does not function as intended

Comments

@websupporter
Copy link

Describe the bug
I registered a lot of meta boxes to see what would happen. I was suprised to see a very small editor window and a very huge metabox section, basically disabling me to edit text in a good way.

To Reproduce
Steps to reproduce the behavior:

  1. Add a plugin with the following code and activate it
add_action(
	'add_meta_boxes',
	function() {

$i = 0;
		while ( $i < 20 ) {
			add_meta_box(
				'test-'.$i,
				'TEST-'.$i,function () {
	echo '<h1>TEEEEEST</h1>';
},
				['post']
			);
			$i++;
		}
	}
);
  1. Go the the editor

Expected behavior
I would expect to have the vertical scrollbar with the metaboxes, not with the editor, so I could have more space with the editor.

Screenshots
grafik

Desktop (please complete the following information):

  • OS: ubuntu 14.04
  • Browser firefox

Additional context

  • WordPress 5.0 beta 3
@La-Geek
Copy link

La-Geek commented Nov 5, 2018

I assume, this is the same issue, (meta boxes overlap the gutenberg blocks)
as described there #11378

@designsimply designsimply added [Type] Bug An existing feature does not function as intended [Feature] Meta Boxes A draggable box shown on the post editing screen [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed labels Nov 5, 2018
@designsimply
Copy link
Member

Thank you for testing! Closing as a duplicate of #11378.

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] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants