Kadence Blocks – Gutenberg Page Builder Toolkit - Version 1.0.8

Version Description

  • Updates: Various fixes for Gutenberg 4.1
  • Fix: Nested columns.
Download this release

Release Info

Developer britner
Plugin Icon 128x128 Kadence Blocks – Gutenberg Page Builder Toolkit
Version 1.0.8
Comparing to
See all releases

Code changes from version 1.0.7 to 1.0.8

dist/class-kadence-blocks-frontend.php CHANGED
@@ -265,6 +265,9 @@ class Kadence_Blocks_Frontend {
265
  // Create CSS for Row/Layout.
266
  $unique_id = $blockattr['uniqueID'];
267
  $css .= $this->row_layout_array_css( $blockattr, $unique_id );
 
 
 
268
  }
269
  }
270
  }
@@ -309,6 +312,9 @@ class Kadence_Blocks_Frontend {
309
  // Create CSS for Row/Layout.
310
  $unique_id = $blockattr->uniqueID;
311
  $css .= $this->row_layout_css( $blockattr, $unique_id );
 
 
 
312
  }
313
  } elseif ( isset( $inner_block->attrs ) && is_array( $inner_block->attrs ) ) {
314
  $blockattr = $inner_block->attrs;
@@ -316,6 +322,9 @@ class Kadence_Blocks_Frontend {
316
  // Create CSS for Row/Layout.
317
  $unique_id = $blockattr['uniqueID'];
318
  $css .= $this->row_layout_array_css( $blockattr, $unique_id );
 
 
 
319
  }
320
  }
321
  }
265
  // Create CSS for Row/Layout.
266
  $unique_id = $blockattr['uniqueID'];
267
  $css .= $this->row_layout_array_css( $blockattr, $unique_id );
268
+ if ( isset( $block['innerBlocks'] ) && ! empty( $block['innerBlocks'] ) && is_array( $block['innerBlocks'] ) ) {
269
+ $css .= $this->column_layout_cycle( $block['innerBlocks'], $unique_id );
270
+ }
271
  }
272
  }
273
  }
312
  // Create CSS for Row/Layout.
313
  $unique_id = $blockattr->uniqueID;
314
  $css .= $this->row_layout_css( $blockattr, $unique_id );
315
+ if ( isset( $inner_block->innerBlocks ) && ! empty( $inner_block->innerBlocks ) && is_array( $inner_block->innerBlocks ) ) {
316
+ $css .= $this->column_layout_cycle( $inner_block->innerBlocks , $unique_id );
317
+ }
318
  }
319
  } elseif ( isset( $inner_block->attrs ) && is_array( $inner_block->attrs ) ) {
320
  $blockattr = $inner_block->attrs;
322
  // Create CSS for Row/Layout.
323
  $unique_id = $blockattr['uniqueID'];
324
  $css .= $this->row_layout_array_css( $blockattr, $unique_id );
325
+ if ( isset( $inner_block->innerBlocks ) && ! empty( $inner_block->innerBlocks ) && is_array( $inner_block->innerBlocks ) ) {
326
+ $css .= $this->column_layout_cycle( $inner_block->innerBlocks , $unique_id );
327
+ }
328
  }
329
  }
330
  }
dist/limited-margins.css CHANGED
@@ -56,7 +56,9 @@
56
  .editor-block-list__block .editor-block-contextual-toolbar {
57
  -webkit-transform: translateY(-38px);
58
  -ms-transform: translateY(-38px);
59
- transform: translateY(-38px); }
 
 
60
 
61
  .editor-block-list__block > .editor-block-mover, .editor-block-list__block > .editor-block-settings-menu {
62
  top: 0;
@@ -95,6 +97,8 @@
95
 
96
  .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
97
  margin-right: 30px;
 
 
98
  padding: 0; }
99
 
100
  .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:last-child {
56
  .editor-block-list__block .editor-block-contextual-toolbar {
57
  -webkit-transform: translateY(-38px);
58
  -ms-transform: translateY(-38px);
59
+ transform: translateY(-38px);
60
+ z-index: 100;
61
+ }
62
 
63
  .editor-block-list__block > .editor-block-mover, .editor-block-list__block > .editor-block-settings-menu {
64
  top: 0;
97
 
98
  .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] {
99
  margin-right: 30px;
100
+ margin-top: 0;
101
+ margin-bottom: 0;
102
  padding: 0; }
103
 
104
  .wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"]:last-child {
kadence-blocks.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
6
  * Author: Kadence Themes
7
  * Author URI: https://www.kadencethemes.com
8
- * Version: 1.0.7
9
  * Text Domain: kadence-blocks
10
  * License: GPL2+
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
20
 
21
  define( 'KT_BLOCKS_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
22
  define( 'KT_BLOCKS_URL', plugin_dir_url( __FILE__ ) );
23
- define( 'KT_BLOCKS_VERSION', '1.0.7' );
24
 
25
  /**
26
  * Add a check before redirecting
5
  * Description: Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
6
  * Author: Kadence Themes
7
  * Author URI: https://www.kadencethemes.com
8
+ * Version: 1.0.8
9
  * Text Domain: kadence-blocks
10
  * License: GPL2+
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
20
 
21
  define( 'KT_BLOCKS_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
22
  define( 'KT_BLOCKS_URL', plugin_dir_url( __FILE__ ) );
23
+ define( 'KT_BLOCKS_VERSION', '1.0.8' );
24
 
25
  /**
26
  * Add a check before redirecting
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gutenberg, blocks, page builder, google fonts, dual buttons, svg icons, ed
4
  Donate link: https://www.kadencethemes.com/about-us/
5
  Requires at least: 4.4
6
  Tested up to: 4.9.8
7
- Stable tag: 1.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -78,6 +78,10 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
78
 
79
  == Changelog ==
80
 
 
 
 
 
81
  = 1.0.7 =
82
  * Updates: Various fixes for Gutenberg 4.0
83
  * Fix: Typo in layout background.
4
  Donate link: https://www.kadencethemes.com/about-us/
5
  Requires at least: 4.4
6
  Tested up to: 4.9.8
7
+ Stable tag: 1.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
78
 
79
  == Changelog ==
80
 
81
+ = 1.0.8 =
82
+ * Updates: Various fixes for Gutenberg 4.1
83
+ * Fix: Nested columns.
84
+
85
  = 1.0.7 =
86
  * Updates: Various fixes for Gutenberg 4.0
87
  * Fix: Typo in layout background.