Black Studio TinyMCE Widget - Version 2.6.8

Version Description

(2019-03-06) = * Fixed compatibility issue with Elementor Page Builder

Download this release

Release Info

Developer marcochiesi
Plugin Icon 128x128 Black Studio TinyMCE Widget
Version 2.6.8
Comparing to
See all releases

Code changes from version 2.6.7 to 2.6.8

black-studio-tinymce-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Black Studio TinyMCE Widget
4
  Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/
5
  Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
6
- Version: 2.6.7
7
  Author: Black Studio
8
  Author URI: https://www.blackstudio.it
9
  Requires at least: 3.1
@@ -35,7 +35,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
35
  * @var string
36
  * @since 2.0.0
37
  */
38
- public static $version = '2.6.7';
39
 
40
  /**
41
  * The single instance of the plugin class
3
  Plugin Name: Black Studio TinyMCE Widget
4
  Plugin URI: https://wordpress.org/plugins/black-studio-tinymce-widget/
5
  Description: Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
6
+ Version: 2.6.8
7
  Author: Black Studio
8
  Author URI: https://www.blackstudio.it
9
  Requires at least: 3.1
35
  * @var string
36
  * @since 2.0.0
37
  */
38
+ public static $version = '2.6.8';
39
 
40
  /**
41
  * The single instance of the plugin class
includes/class-compatibility-plugins.php CHANGED
@@ -521,7 +521,11 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility_Plugins' ) ) {
521
  * @since 2.5.0
522
  */
523
  public function elementor() {
524
- if ( is_admin() && isset( $_GET['action'] ) && 'elementor' == $_GET['action'] ) {
 
 
 
 
525
  add_filter( 'black_studio_tinymce_enable', '__return_false', 100 );
526
  add_action( 'widgets_init', array( $this, 'elementor_unregister_widget' ), 20 );
527
  }
521
  * @since 2.5.0
522
  */
523
  public function elementor() {
524
+ if (
525
+ is_admin() &&
526
+ isset( $_REQUEST['action'] ) &&
527
+ in_array( $_REQUEST['action'], array( 'elementor', 'elementor_ajax' ) )
528
+ ) {
529
  add_filter( 'black_studio_tinymce_enable', '__return_false', 100 );
530
  add_action( 'widgets_init', array( $this, 'elementor_unregister_widget' ), 20 );
531
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: widget, visual, editor, wysiwyg, html, text, tinymce, image, media, galler
5
  Requires at least: 3.1
6
  Tested up to: 5.0
7
  Requires PHP: 5.2
8
- Stable tag: 2.6.7
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl.html
11
 
@@ -212,8 +212,11 @@ DELETE FROM wp_usermeta WHERE meta_key LIKE '_bstw%';
212
 
213
  == Changelog ==
214
 
 
 
 
215
  = 2.6.7 (2019-02-07) =
216
- * Fix z-index issue with flyout admin menu
217
 
218
  = 2.6.6 (2019-01-29) =
219
  * Fixed issue that was causing lots of auto-drafts when used in conjunction with WP 5 Block Editor and Page Builder by SiteOrigin
@@ -539,6 +542,6 @@ DELETE FROM wp_usermeta WHERE meta_key LIKE '_bstw%';
539
 
540
  == Upgrade Notice ==
541
 
542
- = 2.6.7 =
543
  If you're using WPML, double check our FAQ, as version 2.6 introduced some changes regarding widgets translations.
544
  Important: Always ensure to backup your database before upgrading.
5
  Requires at least: 3.1
6
  Tested up to: 5.0
7
  Requires PHP: 5.2
8
+ Stable tag: 2.6.8
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl.html
11
 
212
 
213
  == Changelog ==
214
 
215
+ = 2.6.8 (2019-03-06) =
216
+ * Fixed compatibility issue with Elementor Page Builder
217
+
218
  = 2.6.7 (2019-02-07) =
219
+ * Fixed z-index issue with flyout admin menu
220
 
221
  = 2.6.6 (2019-01-29) =
222
  * Fixed issue that was causing lots of auto-drafts when used in conjunction with WP 5 Block Editor and Page Builder by SiteOrigin
542
 
543
  == Upgrade Notice ==
544
 
545
+ = 2.6.8 =
546
  If you're using WPML, double check our FAQ, as version 2.6 introduced some changes regarding widgets translations.
547
  Important: Always ensure to backup your database before upgrading.