Skip to content

Commit 6a5e766

Browse files
authored
Merge pull request #5 from BeAPI/ver/1.0.1
Ver/1.0.1
2 parents d566110 + bd66521 commit 6a5e766

7 files changed

Lines changed: 11 additions & 8 deletions

File tree

.plugin-data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "1.0.0",
2+
"version": "1.0.1",
33
"slug": "blockparty-modal"
44
}

blockparty-modal.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Blockparty Modal
44
* Description: Modal block for WordPress editor.
5-
* Version: 1.0.0
5+
* Version: 1.0.1
66
* Requires at least: 6.8
77
* Requires PHP: 7.4
88
* Author: Be API Technical Team
@@ -19,7 +19,7 @@
1919
exit; // Exit if accessed directly.
2020
}
2121

22-
define( 'BLOCKPARTY_MODAL_VERSION', '1.0.0' );
22+
define( 'BLOCKPARTY_MODAL_VERSION', '1.0.1' );
2323
define( 'BLOCKPARTY_MODAL_URL', plugin_dir_url( __FILE__ ) );
2424
define( 'BLOCKPARTY_MODAL_DIR', plugin_dir_path( __FILE__ ) );
2525

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blockparty-modal",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Add a modal block to the WordPress editor.",
55
"author": "Be API",
66
"license": "GPL-2.0-or-later",

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: Be API Technical Team
33
Tags: block
44
Tested up to: 6.8
5-
Stable tag: 1.0.0
5+
Stable tag: 1.0.1
66
License: GPL-2.0-or-later
77
License URI: https://www.gnu.org/licenses/gpl-2.0.html
88

@@ -45,6 +45,10 @@ directory take precedence. For example, `/assets/screenshot-1.png` would win ove
4545

4646
== Changelog ==
4747

48+
= 1.0.1 =
49+
* Fix margin style for dialog element; set to auto by default instead of 0.
50+
* Remove dupplicated InnerBlocks.Content
51+
4852
= 1.0.0 =
4953
* Initial Release
5054

src/blockparty-modal/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "blockparty/modal",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"title": "Modal",
77
"category": "widgets",
88
"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.",

src/blockparty-modal/save.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ export default function save( { attributes } ) {
6363
<div className="wp-block-blockparty-modal__content">
6464
<InnerBlocks.Content />
6565
</div>
66-
<InnerBlocks.Content />
6766
{ enableCloseButton && closedBy !== 'none' && (
6867
<button
6968
type="button"

src/blockparty-modal/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
.wp-block-blockparty-modal {
99
--wp-block-blockparty-modal-width: 100%;
10-
--wp-block-blockparty-modal-margin: 0 !important;
10+
--wp-block-blockparty-modal-margin: auto !important;
1111
--wp-block-blockparty-modal-padding: 0;
1212
--wp-block-blockparty-modal-border-radius: 0;
1313
--wp-block-blockparty-modal-border: 1px solid #000;

0 commit comments

Comments
 (0)