diff --git a/.plugin-data b/.plugin-data index f34c623..883d19a 100644 --- a/.plugin-data +++ b/.plugin-data @@ -1,4 +1,4 @@ { - "version": "1.0.0", + "version": "1.0.1", "slug": "blockparty-modal" } diff --git a/blockparty-modal.php b/blockparty-modal.php index dbdfcb2..39edb15 100644 --- a/blockparty-modal.php +++ b/blockparty-modal.php @@ -2,7 +2,7 @@ /** * Plugin Name: Blockparty Modal * Description: Modal block for WordPress editor. - * Version: 1.0.0 + * Version: 1.0.1 * Requires at least: 6.8 * Requires PHP: 7.4 * Author: Be API Technical Team @@ -19,7 +19,7 @@ exit; // Exit if accessed directly. } -define( 'BLOCKPARTY_MODAL_VERSION', '1.0.0' ); +define( 'BLOCKPARTY_MODAL_VERSION', '1.0.1' ); define( 'BLOCKPARTY_MODAL_URL', plugin_dir_url( __FILE__ ) ); define( 'BLOCKPARTY_MODAL_DIR', plugin_dir_path( __FILE__ ) ); diff --git a/package.json b/package.json index 116e7fc..863b883 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blockparty-modal", - "version": "1.0.0", + "version": "1.0.1", "description": "Add a modal block to the WordPress editor.", "author": "Be API", "license": "GPL-2.0-or-later", diff --git a/readme.txt b/readme.txt index adc71b2..6cf5e8e 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: Be API Technical Team Tags: block Tested up to: 6.8 -Stable tag: 1.0.0 +Stable tag: 1.0.1 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -45,6 +45,10 @@ directory take precedence. For example, `/assets/screenshot-1.png` would win ove == Changelog == += 1.0.1 = +* Fix margin style for dialog element; set to auto by default instead of 0. +* Remove dupplicated InnerBlocks.Content + = 1.0.0 = * Initial Release diff --git a/src/blockparty-modal/block.json b/src/blockparty-modal/block.json index f2918a7..2b6b430 100644 --- a/src/blockparty-modal/block.json +++ b/src/blockparty-modal/block.json @@ -2,7 +2,7 @@ "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 3, "name": "blockparty/modal", - "version": "1.0.0", + "version": "1.0.1", "title": "Modal", "category": "widgets", "description": "Insert a modal dialog that opens on trigger. Configure content and behaviour in the editor; the modal is displayed on the frontend when activated.", diff --git a/src/blockparty-modal/save.js b/src/blockparty-modal/save.js index 5d913a5..aba72eb 100644 --- a/src/blockparty-modal/save.js +++ b/src/blockparty-modal/save.js @@ -63,7 +63,6 @@ export default function save( { attributes } ) {
- { enableCloseButton && closedBy !== 'none' && (