diff --git a/src/blocks/balloon/edit.js b/src/blocks/balloon/edit.js index cac92434..055be838 100644 --- a/src/blocks/balloon/edit.js +++ b/src/blocks/balloon/edit.js @@ -325,7 +325,7 @@ export default function ( { attributes, setAttributes, className } ) { { showAvatar && ( - + - + + + diff --git a/src/blocks/btn/edit.js b/src/blocks/btn/edit.js index 19ff0f55..1387d328 100644 --- a/src/blocks/btn/edit.js +++ b/src/blocks/btn/edit.js @@ -107,7 +107,7 @@ export default function ( { return ( <> - + + + + borderRadius !== + metadata.attributes.borderRadius.default + } + isShownByDefault + label={ __( 'Border radius', 'snow-monkey-blocks' ) } + onDeselect={ () => + setAttributes( { + borderRadius: + metadata.attributes.borderRadius.default, + } ) + } + > +
+ { + setAttributes( { borderRadius: value } ); + } } + /> +
+
+
+
+ + @@ -206,30 +234,6 @@ export default function ( { /> - - borderRadius !== - metadata.attributes.borderRadius.default - } - isShownByDefault - label={ __( 'Border radius', 'snow-monkey-blocks' ) } - onDeselect={ () => - setAttributes( { - borderRadius: - metadata.attributes.borderRadius.default, - } ) - } - > -
- { - setAttributes( { borderRadius: value } ); - } } - /> -
-
- wrap !== metadata.attributes.wrap.default diff --git a/src/blocks/countdown/edit.js b/src/blocks/countdown/edit.js index 570da6ec..686a9d53 100644 --- a/src/blocks/countdown/edit.js +++ b/src/blocks/countdown/edit.js @@ -51,7 +51,7 @@ export default function ( { attributes, setAttributes, className } ) { />
- + + + diff --git a/src/blocks/directory-structure/item/directory/edit.js b/src/blocks/directory-structure/item/directory/edit.js index 33edfd6a..427e79fe 100644 --- a/src/blocks/directory-structure/item/directory/edit.js +++ b/src/blocks/directory-structure/item/directory/edit.js @@ -113,7 +113,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) { return ( <> - + + + diff --git a/src/blocks/directory-structure/item/file/edit.js b/src/blocks/directory-structure/item/file/edit.js index 5059fae2..72efb317 100644 --- a/src/blocks/directory-structure/item/file/edit.js +++ b/src/blocks/directory-structure/item/file/edit.js @@ -57,7 +57,7 @@ export default function ( { attributes, setAttributes, className } ) { return ( <> - + + + diff --git a/src/blocks/evaluation-star/edit.js b/src/blocks/evaluation-star/edit.js index 31bb25b7..52ab0bd0 100644 --- a/src/blocks/evaluation-star/edit.js +++ b/src/blocks/evaluation-star/edit.js @@ -87,7 +87,7 @@ export default function ( { return ( <> - + + + diff --git a/src/blocks/faq/item/edit.js b/src/blocks/faq/item/edit.js index d2ffee70..a0786b46 100644 --- a/src/blocks/faq/item/edit.js +++ b/src/blocks/faq/item/edit.js @@ -56,7 +56,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) { return ( <> - + + + diff --git a/src/blocks/list/edit.js b/src/blocks/list/edit.js index 5de73f9b..1fd03812 100644 --- a/src/blocks/list/edit.js +++ b/src/blocks/list/edit.js @@ -84,7 +84,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) { return ( <> - + + + diff --git a/src/blocks/media-text/edit.js b/src/blocks/media-text/edit.js index 513f0a86..7f0833fc 100644 --- a/src/blocks/media-text/edit.js +++ b/src/blocks/media-text/edit.js @@ -517,7 +517,7 @@ export default function ( { - + { ! isFill && ( diff --git a/src/blocks/panels/item/horizontal/edit.js b/src/blocks/panels/item/horizontal/edit.js index fa97ab1a..8173b9bf 100644 --- a/src/blocks/panels/item/horizontal/edit.js +++ b/src/blocks/panels/item/horizontal/edit.js @@ -282,7 +282,7 @@ export default function ( { - + - + + + diff --git a/src/blocks/section-break-the-grid/edit.js b/src/blocks/section-break-the-grid/edit.js index 911c2c16..cc8c204f 100644 --- a/src/blocks/section-break-the-grid/edit.js +++ b/src/blocks/section-break-the-grid/edit.js @@ -367,7 +367,7 @@ export default function ( { return ( <> - + + + - + { isAvailableVerticalAlignment && ( diff --git a/src/blocks/section-side-heading/edit.js b/src/blocks/section-side-heading/edit.js index 7b617f5a..e7dc4d76 100644 --- a/src/blocks/section-side-heading/edit.js +++ b/src/blocks/section-side-heading/edit.js @@ -202,7 +202,7 @@ export default function ( { return ( <> - + + + - + { isItemsAlignmentable && ( diff --git a/src/blocks/section-with-bgimage/edit.js b/src/blocks/section-with-bgimage/edit.js index 02fa87c5..e2f527b5 100644 --- a/src/blocks/section-with-bgimage/edit.js +++ b/src/blocks/section-with-bgimage/edit.js @@ -330,7 +330,7 @@ export default function ( { return ( <> - + + + - + { isItemsAlignmentable && ( diff --git a/src/blocks/section-with-bgvideo/edit.js b/src/blocks/section-with-bgvideo/edit.js index 5e4ece02..903f0637 100644 --- a/src/blocks/section-with-bgvideo/edit.js +++ b/src/blocks/section-with-bgvideo/edit.js @@ -192,7 +192,7 @@ export default function ( { return ( <> - + + + - + { isItemsAlignmentable && ( diff --git a/src/blocks/section/edit.js b/src/blocks/section/edit.js index c262fe10..0c912f81 100644 --- a/src/blocks/section/edit.js +++ b/src/blocks/section/edit.js @@ -196,7 +196,7 @@ export default function ( { return ( <> - + + + - + { isItemsAlignmentable && ( diff --git a/src/blocks/spider-contents-slider/edit.js b/src/blocks/spider-contents-slider/edit.js index 5d310441..a0c3d622 100644 --- a/src/blocks/spider-contents-slider/edit.js +++ b/src/blocks/spider-contents-slider/edit.js @@ -224,7 +224,7 @@ export default function ( { return ( <> - + @@ -253,7 +253,9 @@ export default function ( { /> + + diff --git a/src/blocks/spider-contents-slider/item/edit.js b/src/blocks/spider-contents-slider/item/edit.js index af74da79..a8a5043e 100644 --- a/src/blocks/spider-contents-slider/item/edit.js +++ b/src/blocks/spider-contents-slider/item/edit.js @@ -128,7 +128,7 @@ export default function ( { return ( <> - + diff --git a/src/blocks/spider-slider/edit.js b/src/blocks/spider-slider/edit.js index 7337ea84..3a074ba7 100644 --- a/src/blocks/spider-slider/edit.js +++ b/src/blocks/spider-slider/edit.js @@ -215,7 +215,7 @@ export default function ( { return ( <> - + @@ -244,7 +244,9 @@ export default function ( { /> + + diff --git a/src/blocks/step/item/free/edit.js b/src/blocks/step/item/free/edit.js index dc589ea5..66d5b3d6 100644 --- a/src/blocks/step/item/free/edit.js +++ b/src/blocks/step/item/free/edit.js @@ -56,7 +56,7 @@ export default function ( { attributes, setAttributes, className, clientId } ) { return ( <> - + - + + +