gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Do not show Advanced Settings toggle & Block sidebar if there are no settings to display

Open paulwilde opened this issue 8 years ago • 1 comments

I have created a custom block to show a 'Ribbon' like graphic, however the block will not have any advanced settings associated with it. The block also does not support custom CSS classes and HTML anchors, so those do not show.

You can see in the screenshot the baron sidebar pane that the block has. Also the Show/Hide Advanced Settings toggle isn't necessary at this point.

screen shot 2018-03-28 at 10 50 15

paulwilde avatar Mar 28 '18 09:03 paulwilde

As the sidebar can be used to also show what the block name is and a description, I would say this is ok to have still show on a block without settings. I could see a possibility of having a hook to turn on/off in block but I feel for now let's leave this as is and we can always reconsider.

karmatosed avatar Sep 03 '18 14:09 karmatosed