diff --git a/client/gutenberg/extensions/map-block/index.js b/client/gutenberg/extensions/map-block/index.js index d8ee038e69424..98a7592a706ef 100644 --- a/client/gutenberg/extensions/map-block/index.js +++ b/client/gutenberg/extensions/map-block/index.js @@ -7,7 +7,6 @@ import { __ } from '@wordpress/i18n'; import { registerBlockType } from '@wordpress/blocks'; import { - ColorPalette, IconButton, PanelBody, Toolbar @@ -17,7 +16,8 @@ import { RichText, InspectorControls, BlockControls, - BlockAlignmentToolbar + BlockAlignmentToolbar, + PanelColorSettings } from '@wordpress/editor'; import { @@ -91,13 +91,15 @@ registerBlockType( CONFIG.name, { options={ CONFIG.map_styleOptions } /> - - setAttributes( { marker_color: value } ) } - /> - + setAttributes( { marker_color: value } ), + label: 'Marker Color' + } ] } + />