Use wp.blockEditor.ColorPaletteControl instead of our own Component #671
Labels
enhancement
New feature or request
medium priority
This issue may be considered after the upcoming release.
We implemented our own ColorPaletteControl since the one in Gutenberg wasn't exposed in the API. Now that WordPress/gutenberg#13018 is resolved, we can now do:
import { ColorPalleteControl } from '@wordpress/block-editor'
This only works in WP 5.4+, so we'll need to do backward compatibility for lower versions.
The text was updated successfully, but these errors were encountered: