impress-org/givewp-next-gen

Clicking on a block displays the block settings

kjohnson opened this issue · 1 comments

The sidebar settings have two tabs, "form" and "block". The Gutenberg components do no automatically change the active tab when a block is selected. For the Give Form Builder, the "block" tab should be made active when a block is clicked.

This seems to be default behavior for the block editor, but I'm not sure how that works. The Tabs component maintains state internally and I'm not seeing a way to switch tabs externally (without simulating a button click, which is hack-y).

Might need to re-build the Tabs component to open that up, which shouldn't be to difficult. Probably quicker than de-constructing the Block Editor.