Hi all,
I've created multiple custom blocks with Oxygen Builder to build my pages. I also use Metabox custom fields to populate content in those blocks.
I can display the Metabox fields on settings pages and on the block edit pages in the oxy block library. So far so good.
What I would like to achieve is to display the custom field(s) in the block settings in Gutenberg, when the block is added to a page and selected.
As an example :
I have a block with a bullet list. I'm using a Metabox select field and Oxygen conditions to show/hide list-items depending on the value of the select field. Let's say 1 to 6, so that if 5 is selected, 5 list items will show up and can be edited directly in Gutenberg.
So far, my select field is only displayed on either a settings page or the block edit page, which is not good for user experience.
But it would be awesome to have the field displayed in Gutenberg block settings when this specific block is selected, so no more back and forth between different pages...
Any expert here who can point me in the right direction? Is it even doable (without too much extensive custom code)?
Thanks !