Support Forum
Is it possible to create Gutenberg sidebar panels for saving post meta like Misha Rudrastyh does? Or do you plan such functionality?
Hi, currently it's not available yet. I'll make a note for that and put it on the roadmap.
Thank you Anh, there are so few tools that make it easy, that it could be a very valuable feature of your plugin.
Can you speed the implementation up?
It is a really important feature, and ACF can do it...
Hi, I'm not sure if ACF can do it. Is it documented?
I mean exactly sidebar panels (Gutenberg-based), not just meta boxes aside.
Sorry - I was just thinking of meta boxes aside.
It's really annoying when the fields are shown after Gutenberg.
At the moment I have to use ACF instead of MB Custom Fields, to get the field groups shown on the side panel.
Or am I missing something?
Hi,
Regarding the meta boxes aside, it's already supported by MB Blocks. All you need to do is set the 'context' => 'side'
for the block. Here is the docs for that:
https://docs.metabox.io/extensions/mb-blocks/#context
If you use Meta Box Builder to create blocks, there's an option to set it as well:
This is not in relation to blocks but posts.
I have a custom post type with custom fields. But when your in the Gutenberg editor, the custom fields ar shown after the Gutenberg editor, instead of the side panel.
In Meta Box Builder the option does not exist, when you select post instead of block.
Hi,
This topic is about blocks, so I thought you're talking about it.
What you want is moving the meta boxes to the sidebar. That can be done with the same parameter 'context' => 'side'
for meta boxes. See this docs.
Previously, Gutenberg moves all the meta boxes to the "after content" position, which is what you're seeing. It probably changed its behavior to accept side
context. I've updated the Builder to reflect the change, so you can see the option within the Builder.