Black Studio TinyMCE Widget - Version 2.2.9

Version Description

(2016-04-22) = * Fixed compatibility issue with Page Builder + WPML String Translation * Fixed minor z-index issue with new inline link dialog (WordPress 4.5)

Download this release

Release Info

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

Code changes from version 2.2.8 to 2.2.9

black-studio-tinymce-widget.php CHANGED
@@ -3,11 +3,11 @@
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.2.8
7
  Author: Black Studio
8
  Author URI: http://www.blackstudio.it
9
  Requires at least: 3.1
10
- Tested up to: 4.3
11
  License: GPLv3
12
  Text Domain: black-studio-tinymce-widget
13
  Domain Path: /languages
@@ -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.2.8';
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.2.9
7
  Author: Black Studio
8
  Author URI: http://www.blackstudio.it
9
  Requires at least: 3.1
10
+ Tested up to: 4.5
11
  License: GPLv3
12
  Text Domain: black-studio-tinymce-widget
13
  Domain Path: /languages
35
  * @var string
36
  * @since 2.0.0
37
  */
38
+ public static $version = '2.2.9';
39
 
40
  /**
41
  * The single instance of the plugin class
css/black-studio-tinymce-widget.css CHANGED
@@ -114,6 +114,7 @@ div[id*="black-studio-tinymce"] .mce-wp-fullscreen {
114
  z-index: 1000100 !important;
115
  }
116
 
 
117
  /* Fix z-index for link dialog windows (used on recent WP versions) */
118
 
119
  .wp-customizer #wp-link-backdrop {
@@ -124,6 +125,10 @@ div[id*="black-studio-tinymce"] .mce-wp-fullscreen {
124
  z-index: 500020;
125
  }
126
 
 
 
 
 
127
 
128
 
129
  /* Change mouse cursor when waiting */
114
  z-index: 1000100 !important;
115
  }
116
 
117
+
118
  /* Fix z-index for link dialog windows (used on recent WP versions) */
119
 
120
  .wp-customizer #wp-link-backdrop {
125
  z-index: 500020;
126
  }
127
 
128
+ .wp-customizer .ui-autocomplete.wplink-autocomplete,
129
+ .wp-customizer div.mce-inline-toolbar-grp {
130
+ z-index: 500025;
131
+ }
132
 
133
 
134
  /* Change mouse cursor when waiting */
css/black-studio-tinymce-widget.min.css CHANGED
@@ -1,2 +1,2 @@
1
  /* Black Studio TinyMCE Widget */
2
- .bstw-links{font-size:11px;margin-top:-3px;text-align:right;position:absolute;right:18px}.rtl .bstw-links{text-align:left;right:auto;left:18px}.bstw-links .icon16:before{padding:0}.bstw-links .icon16{float:right;padding:3px 6px;margin:-6px -8px 0 -2px}.rtl .bstw-links .icon16{float:left;margin:-6px -2px 0 -8px}.bstw-links .bstw-links-list{display:none}.bstw-links a{text-decoration:none}.bstw-loading{position:absolute;left:0;right:0;top:0;bottom:0;background-color:#fff;background-image:url(../../../../wp-admin/images/loading.gif);background-position:center center;background-repeat:no-repeat;z-index:100000;display:none;opacity:.5}#wp-black-studio-tinymce-widget-wrap{display:none}div[id*=black-studio-tinymce] .wp-editor-wrap{margin-bottom:1em}#available-widgets [class*=black-studio-tinymce] .widget-title:before{content:"\f116"}.wp-customizer .mce-floatpanel.mce-popover,.wp-customizer .mce-panel.mce-menu{z-index:500000!important}div[id*=black-studio-tinymce] .mce-wp-fullscreen{display:none}.ui-dialog.panels-admin-dialog{z-index:100002!important}#TB_overlay,#TB_window{z-index:999999!important}.media-modal{z-index:1000100!important}.wp-customizer #wp-link-backdrop{z-index:500010}.wp-customizer #wp-link-wrap{z-index:500020}body.wait,body.wait *{cursor:wait!important}#zedity_content_overlay{z-index:100000!important}.mce-rtl .mce-colorbutton button{padding-right:3px!important;padding-left:3px!important}.mce-rtl .mce-colorbutton .mce-preview{margin:0!important;padding:0!important}
1
  /* Black Studio TinyMCE Widget */
2
+ .bstw-links{font-size:11px;margin-top:-3px;text-align:right;position:absolute;right:18px}.rtl .bstw-links{text-align:left;right:auto;left:18px}.bstw-links .icon16:before{padding:0}.bstw-links .icon16{float:right;padding:3px 6px;margin:-6px -8px 0 -2px}.rtl .bstw-links .icon16{float:left;margin:-6px -2px 0 -8px}.bstw-links .bstw-links-list{display:none}.bstw-links a{text-decoration:none}.bstw-loading{position:absolute;left:0;right:0;top:0;bottom:0;background-color:#fff;background-image:url(../../../../wp-admin/images/loading.gif);background-position:center center;background-repeat:no-repeat;z-index:100000;display:none;opacity:.5}#wp-black-studio-tinymce-widget-wrap{display:none}div[id*=black-studio-tinymce] .wp-editor-wrap{margin-bottom:1em}#available-widgets [class*=black-studio-tinymce] .widget-title:before{content:"\f116"}.wp-customizer .mce-floatpanel.mce-popover,.wp-customizer .mce-panel.mce-menu{z-index:500000!important}div[id*=black-studio-tinymce] .mce-wp-fullscreen{display:none}.ui-dialog.panels-admin-dialog{z-index:100002!important}#TB_overlay,#TB_window{z-index:999999!important}.media-modal{z-index:1000100!important}.wp-customizer #wp-link-backdrop{z-index:500010}.wp-customizer #wp-link-wrap{z-index:500020}.wp-customizer .ui-autocomplete.wplink-autocomplete,.wp-customizer div.mce-inline-toolbar-grp{z-index:500025}body.wait,body.wait *{cursor:wait!important}#zedity_content_overlay{z-index:100000!important}.mce-rtl .mce-colorbutton button{padding-right:3px!important;padding-left:3px!important}.mce-rtl .mce-colorbutton .mce-preview{margin:0!important;padding:0!important}
includes/class-compatibility-plugins.php CHANGED
@@ -87,7 +87,9 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility_Plugins' ) ) {
87
  */
88
  public function wpml_widget_update( $instance, $widget ) {
89
  if ( function_exists( 'icl_register_string' ) && ! empty( $widget->number ) ) {
90
- icl_register_string( 'Widgets', 'widget body - ' . $widget->id_base . '-' . $widget->number, $instance['text'] );
 
 
91
  }
92
  return $instance;
93
  }
87
  */
88
  public function wpml_widget_update( $instance, $widget ) {
89
  if ( function_exists( 'icl_register_string' ) && ! empty( $widget->number ) ) {
90
+ if ( ! isset( $instance['panels_info'] ) ) { // Avoid translation of Page Builder (SiteOrigin panels) widgets
91
+ icl_register_string( 'Widgets', 'widget body - ' . $widget->id_base . '-' . $widget->number, $instance['text'] );
92
+ }
93
  }
94
  return $instance;
95
  }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Black Studio TinyMCE Widget ===
2
- Contributors: marcochiesi, thedarkmist
3
  Donate link: http://www.blackstudio.it/en/wordpress-plugins/black-studio-tinymce-widget/
4
  Tags: wysiwyg, widget, tinymce, editor, image, media, rich text, rich text editor, visual editor, wysiwyg editor, tinymce editor, widget editor, html editor, wysiwyg widget, html widget, editor widget, text widget, rich text widget, enhanced text widget, tinymce widget, visual widget, image widget, media widget
5
  Requires at least: 3.1
6
- Tested up to: 4.3
7
- Stable tag: 2.2.8
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
@@ -29,10 +29,11 @@ This plugin adds a new `Visual Editor` widget type that allows you to insert ric
29
 
30
  = Links =
31
 
32
- * [Plugin's web page](http://www.blackstudio.it/en/wordpress-plugins/black-studio-tinymce-widget/)
 
33
  * [FAQ](https://wordpress.org/plugins/black-studio-tinymce-widget/faq/)
34
  * [Support forum](https://wordpress.org/support/plugin/black-studio-tinymce-widget)
35
- * [Follow us on Twitter](https://twitter.com/blackstudioita)
36
 
37
  = Get involved =
38
 
@@ -179,6 +180,10 @@ Plugin's data is stored in serialized format inside a record in the `wp_options`
179
 
180
  == Changelog ==
181
 
 
 
 
 
182
  = 2.2.8 (2015-09-16) =
183
  * Fixed link dialog z-index issue in Customizer
184
 
@@ -434,5 +439,5 @@ Plugin's data is stored in serialized format inside a record in the `wp_options`
434
 
435
  == Upgrade Notice ==
436
 
437
- = 2.2.8 =
438
  Version 2.x is a major update. If you are upgrading from version 1.x please ensure to backup your database before upgrading.
1
  === Black Studio TinyMCE Widget ===
2
+ Contributors: black-studio, marcochiesi, thedarkmist
3
  Donate link: http://www.blackstudio.it/en/wordpress-plugins/black-studio-tinymce-widget/
4
  Tags: wysiwyg, widget, tinymce, editor, image, media, rich text, rich text editor, visual editor, wysiwyg editor, tinymce editor, widget editor, html editor, wysiwyg widget, html widget, editor widget, text widget, rich text widget, enhanced text widget, tinymce widget, visual widget, image widget, media widget
5
  Requires at least: 3.1
6
+ Tested up to: 4.5
7
+ Stable tag: 2.2.9
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl.html
10
 
29
 
30
  = Links =
31
 
32
+ * [Author's web site](http://www.blackstudio.it/en/)
33
+ * [Plugin's page](http://www.blackstudio.it/en/wordpress-plugins/black-studio-tinymce-widget/)
34
  * [FAQ](https://wordpress.org/plugins/black-studio-tinymce-widget/faq/)
35
  * [Support forum](https://wordpress.org/support/plugin/black-studio-tinymce-widget)
36
+ * Follow us on [Twitter](https://twitter.com/blackstudioita), [Facebook](https://www.facebook.com/blackstudiocomunicazione) and [LinkedIn](https://www.linkedin.com/company/black-studio)
37
 
38
  = Get involved =
39
 
180
 
181
  == Changelog ==
182
 
183
+ = 2.2.9 (2016-04-22) =
184
+ * Fixed compatibility issue with Page Builder + WPML String Translation
185
+ * Fixed minor z-index issue with new inline link dialog (WordPress 4.5)
186
+
187
  = 2.2.8 (2015-09-16) =
188
  * Fixed link dialog z-index issue in Customizer
189
 
439
 
440
  == Upgrade Notice ==
441
 
442
+ = 2.2.9 =
443
  Version 2.x is a major update. If you are upgrading from version 1.x please ensure to backup your database before upgrading.