Brizy – Page Builder - Version 2.2.5

Version Description

  • 2021-01-13 =
  • Fixed: Insert Brizy buttons in the editor
Download this release

Release Info

Developer themefusecom
Plugin Icon 128x128 Brizy – Page Builder
Version 2.2.5
Comparing to
See all releases

Code changes from version 2.2.4 to 2.2.5

README.md CHANGED
@@ -3,7 +3,7 @@ Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
  Tested up to: 5.5<br>
5
  Requires PHP: 5.6<br>
6
- Stable tag: 2.2.4<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -118,12 +118,15 @@ $bodyHtml = apply_filters( 'brizy_content', $html->get_body(), Brizy_Editor_Proj
118
 
119
  ## Changelog
120
 
 
 
 
121
  ### 2.2.4 - 2021-01-12
122
  * Fixed: WOOCart toolbar activating from beneath the backdrop
123
  * Fixed: Sections width on tablet and mobile
124
  * Fixed: Global blocks
125
  * Fixed: Accordion when content not displayed in viewport
126
- * Fixed: Rich-text color style on Copy / Paste
127
  * Fixed: Rich-text font size on mobile view
128
  * Fixed: Custom video in popup
129
  * Fixed: Login hover on field
@@ -142,6 +145,12 @@ $bodyHtml = apply_filters( 'brizy_content', $html->get_body(), Brizy_Editor_Proj
142
  * New: Added margin option in Header
143
  * New: Added WooCommerce default Products Page to Pages element
144
 
 
 
 
 
 
 
145
  ### 2.2.1 - 2020-12-07
146
  * Improved: Templates images
147
  * Updated: Google Fonts
3
  Requires at least: 4.5<br>
4
  Tested up to: 5.5<br>
5
  Requires PHP: 5.6<br>
6
+ Stable tag: 2.2.5<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
118
 
119
  ## Changelog
120
 
121
+ ### 2.2.5 - 2021-01-13
122
+ * Fixed: Insert Brizy buttons in the editor
123
+
124
  ### 2.2.4 - 2021-01-12
125
  * Fixed: WOOCart toolbar activating from beneath the backdrop
126
  * Fixed: Sections width on tablet and mobile
127
  * Fixed: Global blocks
128
  * Fixed: Accordion when content not displayed in viewport
129
+ * Fixed: Rich-text color style on Copy / Paste
130
  * Fixed: Rich-text font size on mobile view
131
  * Fixed: Custom video in popup
132
  * Fixed: Login hover on field
145
  * New: Added margin option in Header
146
  * New: Added WooCommerce default Products Page to Pages element
147
 
148
+ ### 2.2.3 - 2020-12-10
149
+ * Fixed: Compatibility with WP 5.6
150
+
151
+ ### 2.2.2 - 2020-12-09
152
+ * Fixed: Compatibility with WP 5.6
153
+
154
  ### 2.2.1 - 2020-12-07
155
  * Improved: Templates images
156
  * Updated: Google Fonts
admin/static/js/script.js CHANGED
@@ -157,6 +157,11 @@ jQuery(document).ready(function ($) {
157
  var BrizyGutenberg = {
158
 
159
  insertBrizyBtn: function () {
 
 
 
 
 
160
  var guten = $( '#editor' ),
161
  html = $( '#brizy-gutenberg-btn-middle' ).html();
162
 
@@ -164,19 +169,24 @@ jQuery(document).ready(function ($) {
164
  return;
165
  }
166
 
167
- guten.find( '.edit-post-header-toolbar' ).append( $( '#brizy-gutenberg-btn-switch-mode' ).html() );
168
 
169
- if ( html ) {
170
- guten.find( '.edit-post-visual-editor .block-editor-writing-flow' ).append( html );
171
- guten.find( '.editor-post-text-editor' ).after( html );
172
- }
173
  },
174
 
175
  init: function () {
176
- var self = this;
177
- setTimeout(function () {
178
- self.insertBrizyBtn();
179
- }, 500);
 
 
 
 
 
180
  }
181
  };
182
 
157
  var BrizyGutenberg = {
158
 
159
  insertBrizyBtn: function () {
160
+
161
+ if ( $( '.brizy-buttons' ).length ) {
162
+ return;
163
+ }
164
+
165
  var guten = $( '#editor' ),
166
  html = $( '#brizy-gutenberg-btn-middle' ).html();
167
 
169
  return;
170
  }
171
 
172
+ guten.find( '.edit-post-header-toolbar' ).append( $( '#brizy-gutenberg-btn-switch-mode' ).html() );
173
 
174
+ if ( html && ! $( '.brizy-buttons-gutenberg' ).length ) {
175
+ guten.find( '.edit-post-visual-editor .block-editor-writing-flow' ).append( html );
176
+ guten.find( '.editor-post-text-editor' ).after( html );
177
+ }
178
  },
179
 
180
  init: function () {
181
+ var self = this;
182
+
183
+ if (typeof wp.data != 'undefined') {
184
+ wp.data.subscribe(function () {
185
+ setTimeout( function () {
186
+ self.insertBrizyBtn();
187
+ }, 1 );
188
+ });
189
+ }
190
  }
191
  };
192
 
brizy.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
- * Version: 2.2.4
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
@@ -19,7 +19,7 @@ if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && stripos( $_SERVER['HTTP_X_FO
19
 
20
  define( 'BRIZY_DEVELOPMENT', false );
21
  define( 'BRIZY_LOG', false );
22
- define( 'BRIZY_VERSION', '2.2.4' );
23
  define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '164-wp' );
24
  define( 'BRIZY_SYNC_VERSION', '164' );
25
  define( 'BRIZY_FILE', __FILE__ );
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
+ * Version: 2.2.5
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
19
 
20
  define( 'BRIZY_DEVELOPMENT', false );
21
  define( 'BRIZY_LOG', false );
22
+ define( 'BRIZY_VERSION', '2.2.5' );
23
  define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '164-wp' );
24
  define( 'BRIZY_SYNC_VERSION', '164' );
25
  define( 'BRIZY_FILE', __FILE__ );
compatibilities/gutenberg.php CHANGED
@@ -88,7 +88,7 @@ class Brizy_Compatibilities_Gutenberg {
88
  $edit_url = esc_url( admin_url( 'admin-post.php?action=_brizy_admin_editor_disable&post=' . get_the_ID() ) );
89
  ?>
90
  <script id="brizy-gutenberg-btn-switch-mode" type="text/html">
91
- <div class="brizy-buttons" style="margin-top:15px;">
92
  <a class="brizy-button brizy-button--primary enable-brizy-editor" type="button"
93
  href="<?php echo $edit_url ?>">
94
  <img src="<?php echo plugins_url( '../admin/static/img/arrow.png', __FILE__ ) ?>"
88
  $edit_url = esc_url( admin_url( 'admin-post.php?action=_brizy_admin_editor_disable&post=' . get_the_ID() ) );
89
  ?>
90
  <script id="brizy-gutenberg-btn-switch-mode" type="text/html">
91
+ <div class="brizy-buttons">
92
  <a class="brizy-button brizy-button--primary enable-brizy-editor" type="button"
93
  href="<?php echo $edit_url ?>">
94
  <img src="<?php echo plugins_url( '../admin/static/img/arrow.png', __FILE__ ) ?>"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: brizy, page builder, editor, visual editor, unyson, wysiwyg, landing page,
4
  Requires at least: 4.5
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
- Stable tag: 2.2.4
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -139,12 +139,15 @@ The progress you're making while building your page is always backed up in the c
139
 
140
  == Changelog ==
141
 
 
 
 
142
  = 2.2.4 - 2021-01-12 =
143
  * Fixed: WOOCart toolbar activating from beneath the backdrop
144
  * Fixed: Sections width on tablet and mobile
145
  * Fixed: Global blocks
146
  * Fixed: Accordion when content not displayed in viewport
147
- * Fixed: Rich-text color style on Copy / Paste
148
  * Fixed: Rich-text font size on mobile view
149
  * Fixed: Custom video in popup
150
  * Fixed: Login hover on field
@@ -163,6 +166,12 @@ The progress you're making while building your page is always backed up in the c
163
  * New: Added margin option in Header
164
  * New: Added WooCommerce default Products Page to Pages element
165
 
 
 
 
 
 
 
166
  = 2.2.1 - 2020-12-07 =
167
  * Improved: Templates images
168
  * Updated: Google Fonts
@@ -241,7 +250,7 @@ The progress you're making while building your page is always backed up in the c
241
  * Fixed: Embed element in Popup
242
  * Fixed: Icons in preivew
243
  * Fixed: Form radio and checkbox
244
- * Fixed: Responsive for prompt form integrations
245
  * Fixed: Published Global Popup
246
  * Fixed: Button margin
247
  * Fixed: GlobalBlocks in preview
4
  Requires at least: 4.5
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 2.2.5
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
139
 
140
  == Changelog ==
141
 
142
+ = 2.2.5 - 2021-01-13 =
143
+ * Fixed: Insert Brizy buttons in the editor
144
+
145
  = 2.2.4 - 2021-01-12 =
146
  * Fixed: WOOCart toolbar activating from beneath the backdrop
147
  * Fixed: Sections width on tablet and mobile
148
  * Fixed: Global blocks
149
  * Fixed: Accordion when content not displayed in viewport
150
+ * Fixed: Rich-text color style on Copy / Paste
151
  * Fixed: Rich-text font size on mobile view
152
  * Fixed: Custom video in popup
153
  * Fixed: Login hover on field
166
  * New: Added margin option in Header
167
  * New: Added WooCommerce default Products Page to Pages element
168
 
169
+ = 2.2.3 - 2020-12-10 =
170
+ * Fixed: Compatibility with WP 5.6
171
+
172
+ = 2.2.2 - 2020-12-09 =
173
+ * Fixed: Compatibility with WP 5.6
174
+
175
  = 2.2.1 - 2020-12-07 =
176
  * Improved: Templates images
177
  * Updated: Google Fonts
250
  * Fixed: Embed element in Popup
251
  * Fixed: Icons in preivew
252
  * Fixed: Form radio and checkbox
253
+ * Fixed: Responsive for prompt form integrations
254
  * Fixed: Published Global Popup
255
  * Fixed: Button margin
256
  * Fixed: GlobalBlocks in preview
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit5f5b23489c17be6c0c19cfa03cbb79b7::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitaceee46941bdb3665b2d06f01ebdee54::getLoader();
vendor/composer/InstalledVersions.php CHANGED
@@ -24,12 +24,12 @@ class InstalledVersions
24
  private static $installed = array (
25
  'root' =>
26
  array (
27
- 'pretty_version' => 'dev-next',
28
- 'version' => 'dev-next',
29
  'aliases' =>
30
  array (
31
  ),
32
- 'reference' => 'f005d6b76fa394c316d1f8fb78da10d39e4a5986',
33
  'name' => 'brizy/brizy',
34
  ),
35
  'versions' =>
@@ -45,12 +45,12 @@ private static $installed = array (
45
  ),
46
  'brizy/brizy' =>
47
  array (
48
- 'pretty_version' => 'dev-next',
49
- 'version' => 'dev-next',
50
  'aliases' =>
51
  array (
52
  ),
53
- 'reference' => 'f005d6b76fa394c316d1f8fb78da10d39e4a5986',
54
  ),
55
  'enshrined/svg-sanitize' =>
56
  array (
24
  private static $installed = array (
25
  'root' =>
26
  array (
27
+ 'pretty_version' => 'dev-master',
28
+ 'version' => 'dev-master',
29
  'aliases' =>
30
  array (
31
  ),
32
+ 'reference' => '716e736b9253ea6fc1f31a73521a79e4852d6bdf',
33
  'name' => 'brizy/brizy',
34
  ),
35
  'versions' =>
45
  ),
46
  'brizy/brizy' =>
47
  array (
48
+ 'pretty_version' => 'dev-master',
49
+ 'version' => 'dev-master',
50
  'aliases' =>
51
  array (
52
  ),
53
+ 'reference' => '716e736b9253ea6fc1f31a73521a79e4852d6bdf',
54
  ),
55
  'enshrined/svg-sanitize' =>
56
  array (
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit5f5b23489c17be6c0c19cfa03cbb79b7
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit5f5b23489c17be6c0c19cfa03cbb79b7
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit5f5b23489c17be6c0c19cfa03cbb79b7', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
29
- spl_autoload_unregister(array('ComposerAutoloaderInit5f5b23489c17be6c0c19cfa03cbb79b7', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInit5f5b23489c17be6c0c19cfa03cbb79b7::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit5f5b23489c17be6c0c19cfa03cbb79b7
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit5f5b23489c17be6c0c19cfa03cbb79b7::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire5f5b23489c17be6c0c19cfa03cbb79b7($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequire5f5b23489c17be6c0c19cfa03cbb79b7($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitaceee46941bdb3665b2d06f01ebdee54
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInitaceee46941bdb3665b2d06f01ebdee54', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
29
+ spl_autoload_unregister(array('ComposerAutoloaderInitaceee46941bdb3665b2d06f01ebdee54', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInitaceee46941bdb3665b2d06f01ebdee54::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInitaceee46941bdb3665b2d06f01ebdee54::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequireaceee46941bdb3665b2d06f01ebdee54($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequireaceee46941bdb3665b2d06f01ebdee54($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit5f5b23489c17be6c0c19cfa03cbb79b7
8
  {
9
  public static $files = array (
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
@@ -78,10 +78,10 @@ class ComposerStaticInit5f5b23489c17be6c0c19cfa03cbb79b7
78
  public static function getInitializer(ClassLoader $loader)
79
  {
80
  return \Closure::bind(function () use ($loader) {
81
- $loader->prefixLengthsPsr4 = ComposerStaticInit5f5b23489c17be6c0c19cfa03cbb79b7::$prefixLengthsPsr4;
82
- $loader->prefixDirsPsr4 = ComposerStaticInit5f5b23489c17be6c0c19cfa03cbb79b7::$prefixDirsPsr4;
83
- $loader->prefixesPsr0 = ComposerStaticInit5f5b23489c17be6c0c19cfa03cbb79b7::$prefixesPsr0;
84
- $loader->classMap = ComposerStaticInit5f5b23489c17be6c0c19cfa03cbb79b7::$classMap;
85
 
86
  }, null, ClassLoader::class);
87
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitaceee46941bdb3665b2d06f01ebdee54
8
  {
9
  public static $files = array (
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
78
  public static function getInitializer(ClassLoader $loader)
79
  {
80
  return \Closure::bind(function () use ($loader) {
81
+ $loader->prefixLengthsPsr4 = ComposerStaticInitaceee46941bdb3665b2d06f01ebdee54::$prefixLengthsPsr4;
82
+ $loader->prefixDirsPsr4 = ComposerStaticInitaceee46941bdb3665b2d06f01ebdee54::$prefixDirsPsr4;
83
+ $loader->prefixesPsr0 = ComposerStaticInitaceee46941bdb3665b2d06f01ebdee54::$prefixesPsr0;
84
+ $loader->classMap = ComposerStaticInitaceee46941bdb3665b2d06f01ebdee54::$classMap;
85
 
86
  }, null, ClassLoader::class);
87
  }
vendor/composer/installed.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php return array (
2
  'root' =>
3
  array (
4
- 'pretty_version' => 'dev-next',
5
- 'version' => 'dev-next',
6
  'aliases' =>
7
  array (
8
  ),
9
- 'reference' => 'f005d6b76fa394c316d1f8fb78da10d39e4a5986',
10
  'name' => 'brizy/brizy',
11
  ),
12
  'versions' =>
@@ -22,12 +22,12 @@
22
  ),
23
  'brizy/brizy' =>
24
  array (
25
- 'pretty_version' => 'dev-next',
26
- 'version' => 'dev-next',
27
  'aliases' =>
28
  array (
29
  ),
30
- 'reference' => 'f005d6b76fa394c316d1f8fb78da10d39e4a5986',
31
  ),
32
  'enshrined/svg-sanitize' =>
33
  array (
1
  <?php return array (
2
  'root' =>
3
  array (
4
+ 'pretty_version' => 'dev-master',
5
+ 'version' => 'dev-master',
6
  'aliases' =>
7
  array (
8
  ),
9
+ 'reference' => '716e736b9253ea6fc1f31a73521a79e4852d6bdf',
10
  'name' => 'brizy/brizy',
11
  ),
12
  'versions' =>
22
  ),
23
  'brizy/brizy' =>
24
  array (
25
+ 'pretty_version' => 'dev-master',
26
+ 'version' => 'dev-master',
27
  'aliases' =>
28
  array (
29
  ),
30
+ 'reference' => '716e736b9253ea6fc1f31a73521a79e4852d6bdf',
31
  ),
32
  'enshrined/svg-sanitize' =>
33
  array (