Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .plugin-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.0.0",
"version": "1.0.1",
"slug": "blockparty-modal"
}
4 changes: 2 additions & 2 deletions blockparty-modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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__ ) );

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/blockparty-modal/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
1 change: 0 additions & 1 deletion src/blockparty-modal/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export default function save( { attributes } ) {
<div className="wp-block-blockparty-modal__content">
<InnerBlocks.Content />
</div>
<InnerBlocks.Content />
{ enableCloseButton && closedBy !== 'none' && (
<button
type="button"
Expand Down
2 changes: 1 addition & 1 deletion src/blockparty-modal/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

.wp-block-blockparty-modal {
--wp-block-blockparty-modal-width: 100%;
--wp-block-blockparty-modal-margin: 0 !important;
--wp-block-blockparty-modal-margin: auto !important;
--wp-block-blockparty-modal-padding: 0;
--wp-block-blockparty-modal-border-radius: 0;
--wp-block-blockparty-modal-border: 1px solid #000;
Expand Down
Loading