How to use PanelColorSettings in custom Gutenberg block?
Question
I’m working on a custom Gutenberg block. I have used <PanelBody>
<BaseControl>
and <ColorPalette>
to create some custom color pickers, however, it seems like it would be more efficient to use the built-in <PanelColorSettings>
component.
Has anyone used <PanelColorSettings>
component in a custom block? The only discussion of this technique I could find was here: https://stackoverflow.com/questions/50480454/add-the-inbuilt-colour-palette-for-gutenberg-custom-block
0
block-editor, customization, plugin-development
4 years
2018-10-01T17:48:50-05:00
2018-10-01T17:48:50-05:00 0 Answers
334 views
0
Leave an answer