admin管理员组

文章数量:1391969

You know how you have control over what page options show when editing pages and posts? You can open and close them with the little triangle toggle - and you can rearrange them, so if you wanted the Yoast bar to sit above the Comments bar, you could just move it there. IS there any way to do this with Gutenberg? I have like 8 Advanced Custom Fields I need to show ABOVE the Gutenberg edit part of the page.

You know how you have control over what page options show when editing pages and posts? You can open and close them with the little triangle toggle - and you can rearrange them, so if you wanted the Yoast bar to sit above the Comments bar, you could just move it there. IS there any way to do this with Gutenberg? I have like 8 Advanced Custom Fields I need to show ABOVE the Gutenberg edit part of the page.

Share Improve this question asked Feb 29, 2020 at 20:46 Shelly CaldwellShelly Caldwell 133 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

You can't move metaboxes/panels above the content area, they don't logically sit in the same place/depth.

Unlike the classic editor where everything is listed vertically by HTML markup, that's not how the block editors UI was designed. Instead there's a canvas with a block-list component, and a frame that contains the top toolbar, the sidebar, and optionally a drawer/area for metaboxes.

If you want to place controls and options above the content, they will need to be built as blocks. Otherwise what you want doesn't fit into the new paradigm. Perhaps your post type has a template defined on register that locks it to a custom block you built, and allows child blocks that make up your content? Or perhaps you can make use of ACF blocks

本文标签: Can the Gutenberg editor be toggled closed