Gutenberg Custom Block: supports color
-
Hi there,
I need background and text color for a custom Gutenberg block. In the supports object of the block I can set color support.
Is there documentation available on what to do to get this working? Simply adding the support object is not enough:
supports: { color: { background: true, gradient: false, text: true, }, }
In my opinion with the supports object set correctly I don’t have to implement the colors via PanelColorSettings, or am I wrong here?
Regards,
Marcus
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Gutenberg Custom Block: supports color’ is closed to new replies.