Version Description
(2015-07-11) = * Fixed z-index issue on Styles dropdown in Customizer * Added workaround to avoid glitches in Customizer * Fixed extra slashes in inclusions using plugin_dir_path * Added Persian translation (courtesy of WP-Translation.org team on Transifex)
Download this release
Release Info
Developer | marcochiesi |
Plugin | Black Studio TinyMCE Widget |
Version | 2.2.5 |
Comparing to | |
See all releases |
Code changes from version 2.2.4 to 2.2.5
- black-studio-tinymce-widget.php +7 -7
- css/black-studio-tinymce-widget-pre33.min.css +1 -1
- css/black-studio-tinymce-widget.css +3 -2
- css/black-studio-tinymce-widget.min.css +2 -2
- includes/class-compatibility.php +3 -3
- includes/class-widget.php +5 -0
- js/black-studio-tinymce-widget-pointer.min.js +1 -1
- js/black-studio-tinymce-widget-pre33.min.js +1 -1
- js/black-studio-tinymce-widget-pre39.min.js +1 -1
- js/black-studio-tinymce-widget-setup.min.js +1 -1
- js/black-studio-tinymce-widget.min.js +1 -1
- js/wp-page-widget.min.js +1 -1
- languages/black-studio-tinymce-widget-es_ES.mo +0 -0
- languages/black-studio-tinymce-widget-es_ES.po +5 -5
- languages/black-studio-tinymce-widget-fa_IR.mo +0 -0
- languages/black-studio-tinymce-widget-fa_IR.po +100 -0
- languages/black-studio-tinymce-widget-fr_FR.mo +0 -0
- languages/black-studio-tinymce-widget-fr_FR.po +3 -3
- languages/black-studio-tinymce-widget-nl_NL.mo +0 -0
- languages/black-studio-tinymce-widget-nl_NL.po +3 -3
- languages/black-studio-tinymce-widget.pot +1 -1
- readme.txt +8 -2
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.2.
|
7 |
Author: Black Studio
|
8 |
Author URI: http://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.2.
|
39 |
|
40 |
/**
|
41 |
* The single instance of the plugin class
|
@@ -165,17 +165,17 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
|
|
165 |
*/
|
166 |
protected function __construct() {
|
167 |
// Include required files
|
168 |
-
include_once( plugin_dir_path( __FILE__ ) . '
|
169 |
// Include and instantiate admin class on admin pages
|
170 |
if ( is_admin() ) {
|
171 |
-
include_once( plugin_dir_path( __FILE__ ) . '
|
172 |
self::$admin = Black_Studio_TinyMCE_Admin::instance();
|
173 |
-
include_once( plugin_dir_path( __FILE__ ) . '
|
174 |
self::$admin_pointer = Black_Studio_TinyMCE_Admin_Pointer::instance();
|
175 |
}
|
176 |
// Include and instantiate text filter class on frontend pages
|
177 |
else {
|
178 |
-
include_once( plugin_dir_path( __FILE__ ) . '
|
179 |
self::$text_filters = Black_Studio_TinyMCE_Text_Filters::instance();
|
180 |
}
|
181 |
// Register action and filter hooks
|
@@ -207,7 +207,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Plugin' ) ) {
|
|
207 |
// Compatibility load flag (for both deprecated functions and code for compatibility with other plugins)
|
208 |
$load_compatibility = apply_filters( 'black_studio_tinymce_load_compatibility', true );
|
209 |
if ( $load_compatibility ) {
|
210 |
-
include_once( plugin_dir_path( __FILE__ ) . '
|
211 |
self::$compatibility = Black_Studio_TinyMCE_Compatibility::instance();
|
212 |
}
|
213 |
}
|
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.5
|
7 |
Author: Black Studio
|
8 |
Author URI: http://www.blackstudio.it
|
9 |
Requires at least: 3.1
|
35 |
* @var string
|
36 |
* @since 2.0.0
|
37 |
*/
|
38 |
+
public static $version = '2.2.5';
|
39 |
|
40 |
/**
|
41 |
* The single instance of the plugin class
|
165 |
*/
|
166 |
protected function __construct() {
|
167 |
// Include required files
|
168 |
+
include_once( plugin_dir_path( __FILE__ ) . 'includes/class-widget.php' );
|
169 |
// Include and instantiate admin class on admin pages
|
170 |
if ( is_admin() ) {
|
171 |
+
include_once( plugin_dir_path( __FILE__ ) . 'includes/class-admin.php' );
|
172 |
self::$admin = Black_Studio_TinyMCE_Admin::instance();
|
173 |
+
include_once( plugin_dir_path( __FILE__ ) . 'includes/class-admin-pointer.php' );
|
174 |
self::$admin_pointer = Black_Studio_TinyMCE_Admin_Pointer::instance();
|
175 |
}
|
176 |
// Include and instantiate text filter class on frontend pages
|
177 |
else {
|
178 |
+
include_once( plugin_dir_path( __FILE__ ) . 'includes/class-text-filters.php' );
|
179 |
self::$text_filters = Black_Studio_TinyMCE_Text_Filters::instance();
|
180 |
}
|
181 |
// Register action and filter hooks
|
207 |
// Compatibility load flag (for both deprecated functions and code for compatibility with other plugins)
|
208 |
$load_compatibility = apply_filters( 'black_studio_tinymce_load_compatibility', true );
|
209 |
if ( $load_compatibility ) {
|
210 |
+
include_once( plugin_dir_path( __FILE__ ) . 'includes/class-compatibility.php' );
|
211 |
self::$compatibility = Black_Studio_TinyMCE_Compatibility::instance();
|
212 |
}
|
213 |
}
|
css/black-studio-tinymce-widget-pre33.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Black Studio TinyMCE Widget - v2.2.
|
2 |
.bstw-links{font-size:11px;margin-top:-3px;text-align:right;position:absolute;right:18px}.bstw-links .icon-plugins{float:right;padding:3px 6px;margin:-8px -8px 0 -2px;background:url(../../../../wp-admin/images/menu.png) -180px -33px no-repeat;width:16px;height:16px}.bstw-links .bstw-links-list{display:none}.bstw-links a{text-decoration:none}#mce_fullscreen_container{background-color:#fff}#wp-black-studio-tinymce-widget-wrap{display:none}#TB_overlay,#TB_window{z-index:999999}.wp-editor-container{border-style:solid;border-width:1px;border-collapse:separate;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#ccc #ccc #dfdfdf;clear:both}.wp-switch-editor{height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;background-color:#f1f1f1;border-color:#dfdfdf #dfdfdf #ccc;color:#999;position:relative;top:1px}.html-active .switch-html,.tmce-active .switch-tmce{border-color:#ccc #ccc #e9e9e9;background-color:#e9e9e9;color:#333}.wp-media-buttons{cursor:default;padding:8px 8px 0}.wp-media-buttons a{cursor:pointer;padding:0 0 5px 10px}.wp-media-buttons img{vertical-align:middle}.wp_themeSkin .mceStatusbar{border-color:#dfdfdf}
|
1 |
+
/* Black Studio TinyMCE Widget - v2.2.5 */
|
2 |
.bstw-links{font-size:11px;margin-top:-3px;text-align:right;position:absolute;right:18px}.bstw-links .icon-plugins{float:right;padding:3px 6px;margin:-8px -8px 0 -2px;background:url(../../../../wp-admin/images/menu.png) -180px -33px no-repeat;width:16px;height:16px}.bstw-links .bstw-links-list{display:none}.bstw-links a{text-decoration:none}#mce_fullscreen_container{background-color:#fff}#wp-black-studio-tinymce-widget-wrap{display:none}#TB_overlay,#TB_window{z-index:999999}.wp-editor-container{border-style:solid;border-width:1px;border-collapse:separate;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#ccc #ccc #dfdfdf;clear:both}.wp-switch-editor{height:18px;margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border-width:1px;border-style:solid;-moz-border-radius:3px 3px 0 0;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-khtml-border-top-right-radius:3px;-khtml-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;background-color:#f1f1f1;border-color:#dfdfdf #dfdfdf #ccc;color:#999;position:relative;top:1px}.html-active .switch-html,.tmce-active .switch-tmce{border-color:#ccc #ccc #e9e9e9;background-color:#e9e9e9;color:#333}.wp-media-buttons{cursor:default;padding:8px 8px 0}.wp-media-buttons a{cursor:pointer;padding:0 0 5px 10px}.wp-media-buttons img{vertical-align:middle}.wp_themeSkin .mceStatusbar{border-color:#dfdfdf}
|
css/black-studio-tinymce-widget.css
CHANGED
@@ -79,9 +79,10 @@ div[id*="black-studio-tinymce"] .wp-editor-wrap {
|
|
79 |
}
|
80 |
|
81 |
|
82 |
-
/* Put TinyMCE
|
83 |
|
84 |
-
.wp-customizer .mce-floatpanel.mce-popover
|
|
|
85 |
z-index: 500000 !important;
|
86 |
}
|
87 |
|
79 |
}
|
80 |
|
81 |
|
82 |
+
/* Put TinyMCE panels foreground in Customizer */
|
83 |
|
84 |
+
.wp-customizer .mce-floatpanel.mce-popover,
|
85 |
+
.wp-customizer .mce-panel.mce-menu {
|
86 |
z-index: 500000 !important;
|
87 |
}
|
88 |
|
css/black-studio-tinymce-widget.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Black Studio TinyMCE Widget - v2.2.
|
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{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}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 - v2.2.5 */
|
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}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.php
CHANGED
@@ -107,7 +107,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility' ) ) {
|
|
107 |
public function load_deprecated() {
|
108 |
$load_deprecated = apply_filters( 'black_studio_tinymce_load_deprecated', true );
|
109 |
if ( $load_deprecated ) {
|
110 |
-
include_once( plugin_dir_path( dirname( __FILE__ ) ) . '
|
111 |
}
|
112 |
}
|
113 |
|
@@ -123,7 +123,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility' ) ) {
|
|
123 |
public function load_plugins() {
|
124 |
$load_compatibility_plugins = apply_filters( 'black_studio_tinymce_load_compatibility_plugins', array( 'siteorigin_panels', 'wpml', 'jetpack_after_the_deadline', 'wp_page_widget' ) );
|
125 |
if ( ! empty( $load_compatibility_plugins ) ) {
|
126 |
-
include_once( plugin_dir_path( dirname( __FILE__ ) ) . '
|
127 |
self::$plugins = Black_Studio_TinyMCE_Compatibility_Plugins::instance( $load_compatibility_plugins );
|
128 |
}
|
129 |
}
|
@@ -139,7 +139,7 @@ if ( ! class_exists( 'Black_Studio_TinyMCE_Compatibility' ) ) {
|
|
139 |
*/
|
140 |
public function load_wordpress() {
|
141 |
if ( version_compare( get_bloginfo( 'version' ), '3.9', '<' ) ) {
|
142 |
-
include_once( plugin_dir_path( dirname( __FILE__ ) ) . '
|
143 |
self::$wordpress = Black_Studio_TinyMCE_Compatibility_Wordpress::instance();
|
144 |
}
|
145 |
}
|
107 |
public function load_deprecated() {
|
108 |
$load_deprecated = apply_filters( 'black_studio_tinymce_load_deprecated', true );
|
109 |
if ( $load_deprecated ) {
|
110 |
+
include_once( plugin_dir_path( dirname( __FILE__ ) ) . 'includes/deprecated.php' );
|
111 |
}
|
112 |
}
|
113 |
|
123 |
public function load_plugins() {
|
124 |
$load_compatibility_plugins = apply_filters( 'black_studio_tinymce_load_compatibility_plugins', array( 'siteorigin_panels', 'wpml', 'jetpack_after_the_deadline', 'wp_page_widget' ) );
|
125 |
if ( ! empty( $load_compatibility_plugins ) ) {
|
126 |
+
include_once( plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-compatibility-plugins.php' );
|
127 |
self::$plugins = Black_Studio_TinyMCE_Compatibility_Plugins::instance( $load_compatibility_plugins );
|
128 |
}
|
129 |
}
|
139 |
*/
|
140 |
public function load_wordpress() {
|
141 |
if ( version_compare( get_bloginfo( 'version' ), '3.9', '<' ) ) {
|
142 |
+
include_once( plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-compatibility-wordpress.php' );
|
143 |
self::$wordpress = Black_Studio_TinyMCE_Compatibility_Wordpress::instance();
|
144 |
}
|
145 |
}
|
includes/class-widget.php
CHANGED
@@ -109,7 +109,12 @@ if ( ! class_exists( 'WP_Widget_Black_Studio_TinyMCE' ) ) {
|
|
109 |
* @since 0.5
|
110 |
*/
|
111 |
public function form( $instance ) {
|
|
|
112 |
$instance = wp_parse_args( (array) $instance, array( 'title' => '', 'text' => '', 'type' => 'visual' ) );
|
|
|
|
|
|
|
|
|
113 |
// Guess (wpautop) filter value for widgets created with previous version
|
114 |
if ( ! isset( $instance['filter'] ) ) {
|
115 |
$instance['filter'] = $instance['type'] == 'visual' && substr( $instance['text'], 0, 3 ) != '<p>' ? 1 : 0;
|
109 |
* @since 0.5
|
110 |
*/
|
111 |
public function form( $instance ) {
|
112 |
+
global $wp_customize;
|
113 |
$instance = wp_parse_args( (array) $instance, array( 'title' => '', 'text' => '', 'type' => 'visual' ) );
|
114 |
+
// Force Visual mode in Customizer (to avoid glitches)
|
115 |
+
if ( $wp_customize ) {
|
116 |
+
$instance['type'] = 'visual';
|
117 |
+
}
|
118 |
// Guess (wpautop) filter value for widgets created with previous version
|
119 |
if ( ! isset( $instance['filter'] ) ) {
|
120 |
$instance['filter'] = $instance['type'] == 'visual' && substr( $instance['text'], 0, 3 ) != '<p>' ? 1 : 0;
|
js/black-studio-tinymce-widget-pointer.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Black Studio TinyMCE Widget - v2.2.
|
2 |
jQuery(document).ready(function(a){function b(b){var c=bstw_pointers.pointers[b],d=a.extend(c.options,{close:function(){a.post(ajaxurl,{pointer:c.pointer_id,action:"dismiss-wp-pointer"})}});a(c.target).pointer(d).pointer("open")}b(0)});
|
1 |
+
/* Black Studio TinyMCE Widget - v2.2.5 */
|
2 |
jQuery(document).ready(function(a){function b(b){var c=bstw_pointers.pointers[b],d=a.extend(c.options,{close:function(){a.post(ajaxurl,{pointer:c.pointer_id,action:"dismiss-wp-pointer"})}});a(c.target).pointer(d).pointer("open")}b(0)});
|
js/black-studio-tinymce-widget-pre33.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Black Studio TinyMCE Widget - v2.2.
|
2 |
!function(a){function b(c){var d=null;return"string"==typeof c?d=c:"object"==typeof c&&c instanceof jQuery&&(d=a("textarea[id^=widget-black-studio-tinymce]",c.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(a("#"+d).addClass("mceEditor"),"object"==typeof tinymce&&"function"==typeof tinymce.execCommand){this.deactivate();try{tinymce.execCommand("mceAddControl",!1,d)}catch(b){window.alert(b)}}return this},deactivate:function(){if("object"==typeof tinymce&&"function"==typeof tinymce.execCommand&&this.is_tinymce_active()){var b=tinymce.get(d).getContent();tinymce.get(d).remove(),a("#"+d).val(b)}return this},activate_after_open:function(){return"visual"===this.get_mode()&&(0===a("div.widget:has(#"+d+") :animated").size()&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_tinymce_active()?this.set_mode("visual"):setTimeout(function(){b(d).activate_after_open()},100)),this},activate_after_ajax:function(){return"visual"===this.get_mode()&&(0===a.active&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_widget_inside_visible()&&!this.is_tinymce_active()&&setTimeout(function(){b(d).activate_after_ajax()},100)),this},get_widget:function(){return a("#"+d).closest("div.widget")},get_widget_inside:function(){return a("#"+d).closest("div.widget-inside")},get_editor_wrap:function(){return a("#"+d).closest("div.wp-editor-wrap")},get_textarea:function(){return a("#"+d)},get_id:function(){return d},get_tinymce:function(){return tinymce.get(d)},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val()},set_mode:function(b){return"visual"===b&&(this.get_editor_wrap().removeClass("html-active").addClass("tmce-active"),this.activate()),"html"===b&&(this.get_editor_wrap().removeClass("tmce-active").addClass("html-active"),this.deactivate()),a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val(b),this},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(d)&&null!==tinymce.get(d)},is_textearea_visible:function(){return a("#"+d).is(":visible")},is_widget_inside_visible:function(){return a(" div.widget-inside:has(#"+d+")").is(":visible")},check_duplicates:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this},fix_css:function(){return this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},set_media_target:function(){return a(".insert-media",this.get_widget()).data("editor",d),this}}}a(document).ready(function(){a("div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] a.widget-action").live("click",function(){b(a(this)).check_duplicates().fix_css().set_media_target().activate_after_open(),a("input[name=savewidget]",b(a(this)).get_widget()).click(function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})})}),a("div.widget[id*=black-studio-tinymce] input[name=savewidget]").live("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),a("a[id^=widget-black-studio-tinymce][id$=tmce]").live("click",function(){b(a(this)).set_mode("visual")}),a("a[id^=widget-black-studio-tinymce][id$=html]").live("click",function(){b(a(this)).set_mode("html")}),a(".wp-media-buttons a").live("click",function(){edCanvas=b(a(this)).get_textarea().get(),wpActiveEditor=b(a(this)).get_id()}),a("body.widgets_access").size()>0&&b(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate_after_open(),a(".bstw-links-icon").live("click",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
|
1 |
+
/* Black Studio TinyMCE Widget - v2.2.5 */
|
2 |
!function(a){function b(c){var d=null;return"string"==typeof c?d=c:"object"==typeof c&&c instanceof jQuery&&(d=a("textarea[id^=widget-black-studio-tinymce]",c.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(a("#"+d).addClass("mceEditor"),"object"==typeof tinymce&&"function"==typeof tinymce.execCommand){this.deactivate();try{tinymce.execCommand("mceAddControl",!1,d)}catch(b){window.alert(b)}}return this},deactivate:function(){if("object"==typeof tinymce&&"function"==typeof tinymce.execCommand&&this.is_tinymce_active()){var b=tinymce.get(d).getContent();tinymce.get(d).remove(),a("#"+d).val(b)}return this},activate_after_open:function(){return"visual"===this.get_mode()&&(0===a("div.widget:has(#"+d+") :animated").size()&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_tinymce_active()?this.set_mode("visual"):setTimeout(function(){b(d).activate_after_open()},100)),this},activate_after_ajax:function(){return"visual"===this.get_mode()&&(0===a.active&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_widget_inside_visible()&&!this.is_tinymce_active()&&setTimeout(function(){b(d).activate_after_ajax()},100)),this},get_widget:function(){return a("#"+d).closest("div.widget")},get_widget_inside:function(){return a("#"+d).closest("div.widget-inside")},get_editor_wrap:function(){return a("#"+d).closest("div.wp-editor-wrap")},get_textarea:function(){return a("#"+d)},get_id:function(){return d},get_tinymce:function(){return tinymce.get(d)},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val()},set_mode:function(b){return"visual"===b&&(this.get_editor_wrap().removeClass("html-active").addClass("tmce-active"),this.activate()),"html"===b&&(this.get_editor_wrap().removeClass("tmce-active").addClass("html-active"),this.deactivate()),a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val(b),this},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(d)&&null!==tinymce.get(d)},is_textearea_visible:function(){return a("#"+d).is(":visible")},is_widget_inside_visible:function(){return a(" div.widget-inside:has(#"+d+")").is(":visible")},check_duplicates:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this},fix_css:function(){return this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},set_media_target:function(){return a(".insert-media",this.get_widget()).data("editor",d),this}}}a(document).ready(function(){a("div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] a.widget-action").live("click",function(){b(a(this)).check_duplicates().fix_css().set_media_target().activate_after_open(),a("input[name=savewidget]",b(a(this)).get_widget()).click(function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})})}),a("div.widget[id*=black-studio-tinymce] input[name=savewidget]").live("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),a("a[id^=widget-black-studio-tinymce][id$=tmce]").live("click",function(){b(a(this)).set_mode("visual")}),a("a[id^=widget-black-studio-tinymce][id$=html]").live("click",function(){b(a(this)).set_mode("html")}),a(".wp-media-buttons a").live("click",function(){edCanvas=b(a(this)).get_textarea().get(),wpActiveEditor=b(a(this)).get_id()}),a("body.widgets_access").size()>0&&b(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate_after_open(),a(".bstw-links-icon").live("click",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
|
js/black-studio-tinymce-widget-pre39.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Black Studio TinyMCE Widget - v2.2.
|
2 |
!function(a){function b(c){var d=null;return"string"==typeof c?d=c:"object"==typeof c&&c instanceof jQuery&&(d=a("textarea[id^=widget-black-studio-tinymce]",c.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(a("#"+d).addClass("mceEditor"),"object"==typeof tinymce&&"function"==typeof tinymce.execCommand){this.deactivate(),tinyMCEPreInit.mceInit[d]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[d].selector="#"+d;try{tinymce.init(tinymce.extend({},tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[d])),tinymce.execCommand("mceAddControl",!1,d)}catch(b){window.alert(b)}this.is_tinymce_active()&&"function"==typeof tinymce.get(d).on&&tinymce.get(d).on("keyup change",function(){var b=tinymce.get(d).getContent();a("#"+d).val(b).change()})}return this},deactivate:function(){if("object"==typeof tinymce&&"function"==typeof tinymce.execCommand&&this.is_tinymce_active()){var b=tinymce.get(d).getContent();tinymce.get(d).remove(),a("#"+d).val(b)}return this},activate_after_open:function(){return"visual"===this.get_mode()&&(0===a("div.widget:has(#"+d+") :animated").size()&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_tinymce_active()?this.set_mode("visual"):setTimeout(function(){b(d).activate_after_open()},100)),this},activate_after_ajax:function(){return"visual"===this.get_mode()&&(0===a.active&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_widget_inside_visible()&&!this.is_tinymce_active()&&setTimeout(function(){b(d).activate_after_ajax()},100)),this},get_widget:function(){return a("#"+d).closest("div.widget")},get_widget_inside:function(){return a("#"+d).closest("div.widget-inside")},get_editor_wrap:function(){return a("#"+d).closest("div.wp-editor-wrap")},get_textarea:function(){return a("#"+d)},get_id:function(){return d},get_tinymce:function(){return tinymce.get(d)},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val()},set_mode:function(b){return"visual"===b&&(this.get_editor_wrap().removeClass("html-active").addClass("tmce-active"),this.activate()),"html"===b&&(this.get_editor_wrap().removeClass("tmce-active").addClass("html-active"),this.deactivate()),a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val(b),this},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(d)&&null!==tinymce.get(d)},is_textearea_visible:function(){return a("#"+d).is(":visible")},is_widget_inside_visible:function(){return a(" div.widget-inside:has(#"+d+")").is(":visible")},check_duplicates:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this},fix_css:function(){return this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},set_media_target:function(){return a(".insert-media",this.get_widget()).data("editor",d),this}}}a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] a.widget-action",function(){if(b(a(this)).check_duplicates().fix_css().set_media_target().activate_after_open(),a("input[name=savewidget]",b(a(this)).get_widget()).on("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),!a(this).parents("#available-widgets").length){var c,d=parseInt(a("input[name=widget-width]",b(a(this)).get_widget()).val(),10),e=a(window).width(),f=b(a(this)).get_widget().parent().width(),g=parseInt(a("#wpcontent").css("margin-left"),10),h=!("undefined"==typeof isRtl||!isRtl);d+g+30>e&&(c=b(a(this)).get_widget().closest("div.widget-liquid-right").length?h?"margin-right":"margin-left":h?"margin-left":"margin-right",a(b(a(this)).get_widget()).css(c,f-(e-30-g)+"px"))}}),a("div.widget[id*=black-studio-tinymce] input[name=savewidget]").on("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=tmce]",function(){b(a(this)).set_mode("visual")}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=html]",function(){b(a(this)).set_mode("html")}),a(document).on("widget-added",function(a,c){c.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),b(c).activate_after_open())}),a(document).on("click",".wp-media-buttons a",function(){window.wpActiveEditor=b(a(this)).get_id()}),a("body.widgets_access").size()>0&&b(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate_after_open(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
|
1 |
+
/* Black Studio TinyMCE Widget - v2.2.5 */
|
2 |
!function(a){function b(c){var d=null;return"string"==typeof c?d=c:"object"==typeof c&&c instanceof jQuery&&(d=a("textarea[id^=widget-black-studio-tinymce]",c.closest(bstw_data.container_selectors)).attr("id")),{activate:function(){if(a("#"+d).addClass("mceEditor"),"object"==typeof tinymce&&"function"==typeof tinymce.execCommand){this.deactivate(),tinyMCEPreInit.mceInit[d]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[d].selector="#"+d;try{tinymce.init(tinymce.extend({},tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[d])),tinymce.execCommand("mceAddControl",!1,d)}catch(b){window.alert(b)}this.is_tinymce_active()&&"function"==typeof tinymce.get(d).on&&tinymce.get(d).on("keyup change",function(){var b=tinymce.get(d).getContent();a("#"+d).val(b).change()})}return this},deactivate:function(){if("object"==typeof tinymce&&"function"==typeof tinymce.execCommand&&this.is_tinymce_active()){var b=tinymce.get(d).getContent();tinymce.get(d).remove(),a("#"+d).val(b)}return this},activate_after_open:function(){return"visual"===this.get_mode()&&(0===a("div.widget:has(#"+d+") :animated").size()&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_tinymce_active()?this.set_mode("visual"):setTimeout(function(){b(d).activate_after_open()},100)),this},activate_after_ajax:function(){return"visual"===this.get_mode()&&(0===a.active&&!this.is_tinymce_active()&&this.is_textearea_visible()?this.set_mode("visual"):this.is_widget_inside_visible()&&!this.is_tinymce_active()&&setTimeout(function(){b(d).activate_after_ajax()},100)),this},get_widget:function(){return a("#"+d).closest("div.widget")},get_widget_inside:function(){return a("#"+d).closest("div.widget-inside")},get_editor_wrap:function(){return a("#"+d).closest("div.wp-editor-wrap")},get_textarea:function(){return a("#"+d)},get_id:function(){return d},get_tinymce:function(){return tinymce.get(d)},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val()},set_mode:function(b){return"visual"===b&&(this.get_editor_wrap().removeClass("html-active").addClass("tmce-active"),this.activate()),"html"===b&&(this.get_editor_wrap().removeClass("tmce-active").addClass("html-active"),this.deactivate()),a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_widget_inside()).val(b),this},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(d)&&null!==tinymce.get(d)},is_textearea_visible:function(){return a("#"+d).is(":visible")},is_widget_inside_visible:function(){return a(" div.widget-inside:has(#"+d+")").is(":visible")},check_duplicates:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this},fix_css:function(){return this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},set_media_target:function(){return a(".insert-media",this.get_widget()).data("editor",d),this}}}a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] a.widget-action",function(){if(b(a(this)).check_duplicates().fix_css().set_media_target().activate_after_open(),a("input[name=savewidget]",b(a(this)).get_widget()).on("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),!a(this).parents("#available-widgets").length){var c,d=parseInt(a("input[name=widget-width]",b(a(this)).get_widget()).val(),10),e=a(window).width(),f=b(a(this)).get_widget().parent().width(),g=parseInt(a("#wpcontent").css("margin-left"),10),h=!("undefined"==typeof isRtl||!isRtl);d+g+30>e&&(c=b(a(this)).get_widget().closest("div.widget-liquid-right").length?h?"margin-right":"margin-left":h?"margin-left":"margin-right",a(b(a(this)).get_widget()).css(c,f-(e-30-g)+"px"))}}),a("div.widget[id*=black-studio-tinymce] input[name=savewidget]").on("click",function(){b(a(this)).is_tinymce_active()&&b(a(this)).deactivate(),a(this).unbind("ajaxSuccess").ajaxSuccess(function(){b(a(this)).activate_after_ajax()})}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=tmce]",function(){b(a(this)).set_mode("visual")}),a(document).on("click","a[id^=widget-black-studio-tinymce][id$=html]",function(){b(a(this)).set_mode("html")}),a(document).on("widget-added",function(a,c){c.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),b(c).activate_after_open())}),a(document).on("click",".wp-media-buttons a",function(){window.wpActiveEditor=b(a(this)).get_id()}),a("body.widgets_access").size()>0&&b(a("textarea[id^=widget-black-studio-tinymce]").attr("id")).activate_after_open(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
|
js/black-studio-tinymce-widget-setup.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Black Studio TinyMCE Widget - v2.2.
|
2 |
!function(a){function b(b){b.on("keyup change",function(){"visual"===bstw(b.id).get_mode()&&bstw(b.id).update_content(),a("#"+b.id).change()}),a("#"+b.id).addClass("active").removeClass("activating")}var c;for(c in tinyMCEPreInit.mceInit)c.search("black-studio-tinymce")>=0&&(tinyMCEPreInit.mceInit[c].setup=b)}(jQuery);
|
1 |
+
/* Black Studio TinyMCE Widget - v2.2.5 */
|
2 |
!function(a){function b(b){b.on("keyup change",function(){"visual"===bstw(b.id).get_mode()&&bstw(b.id).update_content(),a("#"+b.id).change()}),a("#"+b.id).addClass("active").removeClass("activating")}var c;for(c in tinyMCEPreInit.mceInit)c.search("black-studio-tinymce")>=0&&(tinyMCEPreInit.mceInit[c].setup=b)}(jQuery);
|
js/black-studio-tinymce-widget.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Black Studio TinyMCE Widget - v2.2.
|
2 |
var bstw;!function(a){bstw=function(b){var c=null;return"string"==typeof b?c=b:"object"==typeof b&&b instanceof jQuery&&(c=a("textarea[id^=widget-black-studio-tinymce][id$=text]",b.closest(bstw_data.container_selectors)).attr("id")),{activate:function(b){if(b="undefined"!=typeof b?b:!0,!a("#"+c).hasClass("active")){if(a("#"+c).hasClass("activating")||a("#"+c).addClass("activating"),this.is_quicktags_configured()||(tinyMCEPreInit.qtInit[c]=tinyMCEPreInit.qtInit["black-studio-tinymce-widget"],tinyMCEPreInit.qtInit[c].id=c),!this.is_quicktags_active()){var d,e;d=QTags.instances,QTags.instances=[],quicktags(tinyMCEPreInit.qtInit[c]),QTags._buttonsInit(),e=QTags.instances[c],QTags.instances=d,QTags.instances[c]=e}this.is_tinymce_configured()||(tinyMCEPreInit.mceInit[c]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[c].selector="#"+c),!this.is_tinymce_active()&&"visual"===this.get_mode()&&a("#"+c).is(":visible")?(tinyMCEPreInit.mceInit[c].setup=function(b){b.on("keyup change",function(){"visual"===bstw(c).get_mode()&&bstw(c).update_content(),a("#"+c).change()}),a("#"+c).addClass("active").removeClass("activating")},b?tinymce.init(tinyMCEPreInit.mceInit[c]):this.go()):this.is_tinymce_active()||"visual"!==this.get_mode()?a("#"+c).addClass("active").removeClass("activating"):setTimeout(function(){bstw(c).activate(b)},500)}return this},deactivate:function(){return a("#"+c).hasClass("activating")||(this.is_tinymce_active()&&tinymce.get(c).remove(),this.is_tinymce_configured()&&delete tinyMCEPreInit.mceInit[c],this.is_quicktags_active()&&(a(".quicktags-toolbar",this.get_widget_inside()).remove(),delete QTags.instances[c]),this.is_quicktags_configured()&&delete tinyMCEPreInit.qtInit[c],a("#"+c).removeClass("active")),this},update_content:function(){var a;return"visual"===this.get_mode()?(a=tinymce.get(c).save(),tinyMCEPreInit.mceInit[c].wpautop&&(a=window.switchEditors.pre_wpautop(a)),this.get_textarea().val(a)):this.is_tinymce_active()&&(a=this.get_textarea().val(),tinyMCEPreInit.mceInit[c].wpautop&&(a=window.switchEditors.wpautop(a)),tinymce.get(c).setContent(a)),this},go:function(a){return"undefined"==typeof a&&(a=this.get_mode()),window.switchEditors.go(c,"visual"===a?"tmce":"html"),this},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val()},set_mode:function(b){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val(b),this},get_container:function(){return a("#"+c).closest(bstw_data.container_selectors)},get_widget:function(){return a("#"+c).closest("div.widget")},get_widget_inside:function(){return a("#"+c).closest("div.widget-inside")},get_textarea:function(){return a("#"+c)},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(c)&&null!==tinymce.get(c)},is_tinymce_configured:function(){return"undefined"!=typeof tinyMCEPreInit.mceInit[c]},is_quicktags_active:function(){return"object"==typeof QTags.instances[c]},is_quicktags_configured:function(){return"object"==typeof tinyMCEPreInit.qtInit[c]},prepare:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},responsive:function(){if(this.get_widget_inside().is(":visible")){var b,c=parseInt(a("input[name=widget-width]",this.get_widget()).val(),10),d=a(window).width(),e=this.get_widget().parent().width(),f=parseInt(a("#wpcontent").css("margin-left"),10),g=!("undefined"==typeof isRtl||!isRtl);c+f+30>d&&(b=this.get_widget().closest("div.widget-liquid-right").length?g?"margin-right":"margin-left":g?"margin-left":"margin-right",this.get_widget().css(b,e-(d-30-f)+"px"))}return this}}},a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] .widget-action",function(){a(this).parents("#available-widgets").length||(bstw(a(this)).prepare().responsive().activate(!1),a("input[name=savewidget]",bstw(a(this)).get_widget()).on("click",function(){var b=a(this).closest(".widget").find(".wp-editor-wrap").height();a(this).closest(".widget").find(".wp-editor-wrap").height(b).append('<div class="bstw-loading"></div>'),a(this).closest(".widget").find(".bstw-loading").height(b).show(),bstw(a(this)).update_content()}))}),a(document).on("widget-added",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).activate())}),a(document).on("widget-updated",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).deactivate().activate())}),a(document).on("widget-synced",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),"visual"===bstw(b).get_mode()&&bstw(b).update_content())}),a(document).on("click","[id^=widget-black-studio-tinymce][id$=tmce]",function(){bstw(a(this)).set_mode("visual")}),a(document).on("click","[id^=widget-black-studio-tinymce][id$=html]",function(){bstw(a(this)).set_mode("html")}),a(document).on("click.wp-editor",".wp-editor-wrap",function(){this.id&&(window.wpActiveEditor=this.id.slice(3,-5))}),a(document).on("sortstart",function(b,c){if((a(c.item).is(".widget")||a(c.item).is(".customize-control"))&&!a(c.item).is(".ui-draggable")){var d=["body.wp-customizer .expanded > div[id*=black-studio-tinymce].widget",".widget-liquid-right div[id*=black-studio-tinymce].widget.open"];a(d.join(", ")).filter(":has(.widget-inside:visible)").each(function(){a(".widget-title",this).trigger("click"),bstw(a(this)).deactivate()}),c.item.is("[id*=black-studio-tinymce]")&&bstw(c.item.find("textarea[id^=widget-black-studio-tinymce]")).deactivate()}}),a(document).on("sortupdate",function(b,c){(null===b||a(c.item).is(".widget")&&!a(c.item).is(".ui-draggable"))&&(a("body").addClass("wait"),setTimeout(function(){a("textarea[id^=widget-black-studio-tinymce].active").each(function(){bstw(a(this)).deactivate()}),a("body").removeClass("wait")},1e3))}),a(document).on("click","body.wp-customizer div[id*=black-studio-tinymce].widget .move-widget-btn",function(){a("body").addClass("wait");var b=a(this);setTimeout(function(){a("textarea[id^=widget-black-studio-tinymce].active").each(function(){bstw(a(this)).deactivate()}),bstw(b).activate(),a("body").removeClass("wait")},1e3)}),"object"==typeof bstw_data.activate_events&&bstw_data.activate_events.length>0&&a(document).on(bstw_data.activate_events.join(" "),function(b){bstw(a(b.target)).activate()}),"object"==typeof bstw_data.deactivate_events&&bstw_data.deactivate_events.length>0&&a(document).on(bstw_data.deactivate_events.join(" "),function(b){bstw(a(b.target)).deactivate()}),a(window).resize(function(){a("textarea[id^=widget-black-studio-tinymce]").each(function(){bstw(a(this)).responsive()})}),a("#qt_widget-black-studio-tinymce-__i__-text_toolbar").remove(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
|
1 |
+
/* Black Studio TinyMCE Widget - v2.2.5 */
|
2 |
var bstw;!function(a){bstw=function(b){var c=null;return"string"==typeof b?c=b:"object"==typeof b&&b instanceof jQuery&&(c=a("textarea[id^=widget-black-studio-tinymce][id$=text]",b.closest(bstw_data.container_selectors)).attr("id")),{activate:function(b){if(b="undefined"!=typeof b?b:!0,!a("#"+c).hasClass("active")){if(a("#"+c).hasClass("activating")||a("#"+c).addClass("activating"),this.is_quicktags_configured()||(tinyMCEPreInit.qtInit[c]=tinyMCEPreInit.qtInit["black-studio-tinymce-widget"],tinyMCEPreInit.qtInit[c].id=c),!this.is_quicktags_active()){var d,e;d=QTags.instances,QTags.instances=[],quicktags(tinyMCEPreInit.qtInit[c]),QTags._buttonsInit(),e=QTags.instances[c],QTags.instances=d,QTags.instances[c]=e}this.is_tinymce_configured()||(tinyMCEPreInit.mceInit[c]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[c].selector="#"+c),!this.is_tinymce_active()&&"visual"===this.get_mode()&&a("#"+c).is(":visible")?(tinyMCEPreInit.mceInit[c].setup=function(b){b.on("keyup change",function(){"visual"===bstw(c).get_mode()&&bstw(c).update_content(),a("#"+c).change()}),a("#"+c).addClass("active").removeClass("activating")},b?tinymce.init(tinyMCEPreInit.mceInit[c]):this.go()):this.is_tinymce_active()||"visual"!==this.get_mode()?a("#"+c).addClass("active").removeClass("activating"):setTimeout(function(){bstw(c).activate(b)},500)}return this},deactivate:function(){return a("#"+c).hasClass("activating")||(this.is_tinymce_active()&&tinymce.get(c).remove(),this.is_tinymce_configured()&&delete tinyMCEPreInit.mceInit[c],this.is_quicktags_active()&&(a(".quicktags-toolbar",this.get_widget_inside()).remove(),delete QTags.instances[c]),this.is_quicktags_configured()&&delete tinyMCEPreInit.qtInit[c],a("#"+c).removeClass("active")),this},update_content:function(){var a;return"visual"===this.get_mode()?(a=tinymce.get(c).save(),tinyMCEPreInit.mceInit[c].wpautop&&(a=window.switchEditors.pre_wpautop(a)),this.get_textarea().val(a)):this.is_tinymce_active()&&(a=this.get_textarea().val(),tinyMCEPreInit.mceInit[c].wpautop&&(a=window.switchEditors.wpautop(a)),tinymce.get(c).setContent(a)),this},go:function(a){return"undefined"==typeof a&&(a=this.get_mode()),window.switchEditors.go(c,"visual"===a?"tmce":"html"),this},get_mode:function(){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val()},set_mode:function(b){return a("input[id^=widget-black-studio-tinymce][id$=type]",this.get_container()).val(b),this},get_container:function(){return a("#"+c).closest(bstw_data.container_selectors)},get_widget:function(){return a("#"+c).closest("div.widget")},get_widget_inside:function(){return a("#"+c).closest("div.widget-inside")},get_textarea:function(){return a("#"+c)},is_tinymce_active:function(){return"object"==typeof tinymce&&"object"==typeof tinymce.get(c)&&null!==tinymce.get(c)},is_tinymce_configured:function(){return"undefined"!=typeof tinyMCEPreInit.mceInit[c]},is_quicktags_active:function(){return"object"==typeof QTags.instances[c]},is_quicktags_configured:function(){return"object"==typeof tinyMCEPreInit.qtInit[c]},prepare:function(){return a('[name="'+this.get_textarea().attr("name")+'"]').size()>1&&0===a("div.error",this.get_widget_inside()).length&&this.get_widget_inside().prepend('<div class="error"><strong>'+bstw_data.error_duplicate_id+"</strong></div>"),this.get_widget().css("position","relative").css("z-index","100000"),a("#wpbody-content").css("overflow","visible"),this},responsive:function(){if(this.get_widget_inside().is(":visible")){var b,c=parseInt(a("input[name=widget-width]",this.get_widget()).val(),10),d=a(window).width(),e=this.get_widget().parent().width(),f=parseInt(a("#wpcontent").css("margin-left"),10),g=!("undefined"==typeof isRtl||!isRtl);c+f+30>d&&(b=this.get_widget().closest("div.widget-liquid-right").length?g?"margin-right":"margin-left":g?"margin-left":"margin-right",this.get_widget().css(b,e-(d-30-f)+"px"))}return this}}},a(document).ready(function(){a(document).on("click","div.widget[id*=black-studio-tinymce] .widget-title, div.widget[id*=black-studio-tinymce] .widget-action",function(){a(this).parents("#available-widgets").length||(bstw(a(this)).prepare().responsive().activate(!1),a("input[name=savewidget]",bstw(a(this)).get_widget()).on("click",function(){var b=a(this).closest(".widget").find(".wp-editor-wrap").height();a(this).closest(".widget").find(".wp-editor-wrap").height(b).append('<div class="bstw-loading"></div>'),a(this).closest(".widget").find(".bstw-loading").height(b).show(),bstw(a(this)).update_content()}))}),a(document).on("widget-added",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).activate())}),a(document).on("widget-updated",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),bstw(b).deactivate().activate())}),a(document).on("widget-synced",function(a,b){b.is("[id*=black-studio-tinymce]")&&(a.preventDefault(),"visual"===bstw(b).get_mode()&&bstw(b).update_content())}),a(document).on("click","[id^=widget-black-studio-tinymce][id$=tmce]",function(){bstw(a(this)).set_mode("visual")}),a(document).on("click","[id^=widget-black-studio-tinymce][id$=html]",function(){bstw(a(this)).set_mode("html")}),a(document).on("click.wp-editor",".wp-editor-wrap",function(){this.id&&(window.wpActiveEditor=this.id.slice(3,-5))}),a(document).on("sortstart",function(b,c){if((a(c.item).is(".widget")||a(c.item).is(".customize-control"))&&!a(c.item).is(".ui-draggable")){var d=["body.wp-customizer .expanded > div[id*=black-studio-tinymce].widget",".widget-liquid-right div[id*=black-studio-tinymce].widget.open"];a(d.join(", ")).filter(":has(.widget-inside:visible)").each(function(){a(".widget-title",this).trigger("click"),bstw(a(this)).deactivate()}),c.item.is("[id*=black-studio-tinymce]")&&bstw(c.item.find("textarea[id^=widget-black-studio-tinymce]")).deactivate()}}),a(document).on("sortupdate",function(b,c){(null===b||a(c.item).is(".widget")&&!a(c.item).is(".ui-draggable"))&&(a("body").addClass("wait"),setTimeout(function(){a("textarea[id^=widget-black-studio-tinymce].active").each(function(){bstw(a(this)).deactivate()}),a("body").removeClass("wait")},1e3))}),a(document).on("click","body.wp-customizer div[id*=black-studio-tinymce].widget .move-widget-btn",function(){a("body").addClass("wait");var b=a(this);setTimeout(function(){a("textarea[id^=widget-black-studio-tinymce].active").each(function(){bstw(a(this)).deactivate()}),bstw(b).activate(),a("body").removeClass("wait")},1e3)}),"object"==typeof bstw_data.activate_events&&bstw_data.activate_events.length>0&&a(document).on(bstw_data.activate_events.join(" "),function(b){bstw(a(b.target)).activate()}),"object"==typeof bstw_data.deactivate_events&&bstw_data.deactivate_events.length>0&&a(document).on(bstw_data.deactivate_events.join(" "),function(b){bstw(a(b.target)).deactivate()}),a(window).resize(function(){a("textarea[id^=widget-black-studio-tinymce]").each(function(){bstw(a(this)).responsive()})}),a("#qt_widget-black-studio-tinymce-__i__-text_toolbar").remove(),a(document).on("click",".bstw-links-icon",function(b){b.preventDefault(),a(this).closest(".bstw-links").children(".bstw-links-list").toggle()})})}(jQuery);
|
js/wp-page-widget.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/* Black Studio TinyMCE Widget - v2.2.
|
2 |
!function(a){a(document).ready(function(){a(document).on("click","#pw-sidebars-customize div[id*=black-studio-tinymce].widget input.widget-control-save",function(){a(this).unbind("ajaxSuccess").ajaxSuccess(function(){a(this).trigger("widget-updated",[bstw(a(this)).get_widget()]).unbind("ajaxSuccess")})}),a(document).on("click","#pw-sidebars-customize div[id*=black-studio-tinymce].widget .widget-title",function(){var b=bstw(a(this)).get_textarea();b.hasClass("active")&&(bstw(a(this)).deactivate(),a(this).trigger("widget-added",[bstw(a(this)).get_widget()]))})})}(jQuery);
|
1 |
+
/* Black Studio TinyMCE Widget - v2.2.5 */
|
2 |
!function(a){a(document).ready(function(){a(document).on("click","#pw-sidebars-customize div[id*=black-studio-tinymce].widget input.widget-control-save",function(){a(this).unbind("ajaxSuccess").ajaxSuccess(function(){a(this).trigger("widget-updated",[bstw(a(this)).get_widget()]).unbind("ajaxSuccess")})}),a(document).on("click","#pw-sidebars-customize div[id*=black-studio-tinymce].widget .widget-title",function(){var b=bstw(a(this)).get_textarea();b.hasClass("active")&&(bstw(a(this)).deactivate(),a(this).trigger("widget-added",[bstw(a(this)).get_widget()]))})})}(jQuery);
|
languages/black-studio-tinymce-widget-es_ES.mo
CHANGED
Binary file
|
languages/black-studio-tinymce-widget-es_ES.po
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
# Copyright (C) 2015 Black Studio
|
2 |
# This file is distributed under the GPLv3.
|
3 |
# Translators:
|
4 |
-
#
|
5 |
# genethic <lauramoreno1436@gmail.com>, 2014
|
6 |
# marcochiesi <marco@blackstudio.it>, 2014
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: Black Studio TinyMCE Widget\n"
|
10 |
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
11 |
-
"POT-Creation-Date: 2015-
|
12 |
-
"PO-Revision-Date: 2015-
|
13 |
-
"Last-Translator:
|
14 |
-
"Language-Team: Spanish (Spain) (http://www.transifex.com/
|
15 |
"MIME-Version: 1.0\n"
|
16 |
"Content-Type: text/plain; charset=UTF-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
1 |
# Copyright (C) 2015 Black Studio
|
2 |
# This file is distributed under the GPLv3.
|
3 |
# Translators:
|
4 |
+
# Digital03.net <info@digital03.net>, 2015
|
5 |
# genethic <lauramoreno1436@gmail.com>, 2014
|
6 |
# marcochiesi <marco@blackstudio.it>, 2014
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: Black Studio TinyMCE Widget\n"
|
10 |
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
11 |
+
"POT-Creation-Date: 2015-07-11 15:06:36+00:00\n"
|
12 |
+
"PO-Revision-Date: 2015-06-24 09:12+0000\n"
|
13 |
+
"Last-Translator: Digital03.net <info@digital03.net>\n"
|
14 |
+
"Language-Team: Spanish (Spain) (http://www.transifex.com/p/black-studio-tinymce-widget/language/es_ES/)\n"
|
15 |
"MIME-Version: 1.0\n"
|
16 |
"Content-Type: text/plain; charset=UTF-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
languages/black-studio-tinymce-widget-fa_IR.mo
ADDED
Binary file
|
languages/black-studio-tinymce-widget-fa_IR.po
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 Black Studio
|
2 |
+
# This file is distributed under the GPLv3.
|
3 |
+
# Translators:
|
4 |
+
# A.Mehraban <Mehr.Ban@chmail.ir>, 2015
|
5 |
+
# marcochiesi <marco@blackstudio.it>, 2014
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: Black Studio TinyMCE Widget\n"
|
9 |
+
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
10 |
+
"POT-Creation-Date: 2015-07-11 15:06:36+00:00\n"
|
11 |
+
"PO-Revision-Date: 2015-07-07 14:45+0000\n"
|
12 |
+
"Last-Translator: A.Mehraban <Mehr.Ban@chmail.ir>\n"
|
13 |
+
"Language-Team: Persian (Iran) (http://www.transifex.com/p/black-studio-tinymce-widget/language/fa_IR/)\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"Language: fa_IR\n"
|
18 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
19 |
+
"X-Generator: grunt-wp-i18n 0.4.8\n"
|
20 |
+
"X-Poedit-Basepath: .\n"
|
21 |
+
"X-Poedit-Bookmarks: \n"
|
22 |
+
"X-Poedit-Country: United States\n"
|
23 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
24 |
+
"X-Poedit-Language: English\n"
|
25 |
+
"X-Poedit-SearchPath-0: .\n"
|
26 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
27 |
+
"X-Textdomain-Support: yes\n"
|
28 |
+
|
29 |
+
#. translators: error message shown when multiple instance of the plugin are
|
30 |
+
#. detected
|
31 |
+
#: black-studio-tinymce-widget.php:279
|
32 |
+
msgid ""
|
33 |
+
"ERROR: Multiple instances of the Black Studio TinyMCE Widget plugin were "
|
34 |
+
"detected. Please activate only one instance at a time."
|
35 |
+
msgstr "خطا: ظاهرا شما چند نمونه از افزونه Black Studio TinyMCE Widget را نصب کردهاید، لازم است در یک زمان فقط از یک مورد استفاده کنید."
|
36 |
+
|
37 |
+
#. translators: text for the dismissable admin pointer tooltip
|
38 |
+
#: includes/class-admin-pointer.php:167
|
39 |
+
msgid ""
|
40 |
+
"The Visual Editor widget allows you to insert rich text and media objects in"
|
41 |
+
" your sidebars"
|
42 |
+
msgstr "ابزارک ویرایشگر دیداری به شما این اجازه را میدهد تا اقدام به وارد کردن متن، رسانه و اشیاء دیگر در ستونهای فرعی خود کنید."
|
43 |
+
|
44 |
+
#. translators: error message shown when a duplicated widget ID is detected
|
45 |
+
#: includes/class-admin.php:246
|
46 |
+
msgid ""
|
47 |
+
"ERROR: Duplicate widget ID detected. To avoid content loss, please create a "
|
48 |
+
"new widget with the same content and then delete this one."
|
49 |
+
msgstr "خطا: دو ویجت با شناسه همسان شناسایی شدند. برای جلوگیری از دست دادن محتوا، لطفا یک ابزارک جدید با همان محتوا ایجاده کرده و سپس اقدام به حذف دیگری کنید."
|
50 |
+
|
51 |
+
#. translators: text used for plugin home link
|
52 |
+
#: includes/class-admin.php:334
|
53 |
+
msgid "Home"
|
54 |
+
msgstr "خانه"
|
55 |
+
|
56 |
+
#. translators: text used for support faq link
|
57 |
+
#: includes/class-admin.php:336
|
58 |
+
msgid "FAQ"
|
59 |
+
msgstr "سوالات متداول"
|
60 |
+
|
61 |
+
#. translators: text used for support forum link
|
62 |
+
#: includes/class-admin.php:338
|
63 |
+
msgid "Support"
|
64 |
+
msgstr "پشتیبانی"
|
65 |
+
|
66 |
+
#. translators: text used for reviews link
|
67 |
+
#: includes/class-admin.php:340
|
68 |
+
msgid "Rate"
|
69 |
+
msgstr "قیمت"
|
70 |
+
|
71 |
+
#. translators: text used for follow on twitter link
|
72 |
+
#: includes/class-admin.php:342
|
73 |
+
msgid "Follow"
|
74 |
+
msgstr "دنبال کردن"
|
75 |
+
|
76 |
+
#. translators: text used for donation link
|
77 |
+
#: includes/class-admin.php:344
|
78 |
+
msgid "Donate"
|
79 |
+
msgstr "اهداء کردن"
|
80 |
+
|
81 |
+
#. translators: text used for the icon that shows the plugin links
|
82 |
+
#: includes/class-admin.php:364
|
83 |
+
msgid "About Black Studio TinyMCE Widget plugin"
|
84 |
+
msgstr "درباره افزونه Black Studio TinyMCE Widget"
|
85 |
+
|
86 |
+
#. translators: title of the widget
|
87 |
+
#: includes/class-widget.php:27
|
88 |
+
msgid "Visual Editor"
|
89 |
+
msgstr "ویرایشگر دیداری"
|
90 |
+
|
91 |
+
#. translators: description of the widget, shown in available widgets
|
92 |
+
#: includes/class-widget.php:29
|
93 |
+
msgid "Arbitrary text or HTML with visual editor"
|
94 |
+
msgstr "متن ساده یا استفاده از HTML در ویرایشگر دیداری"
|
95 |
+
|
96 |
+
#. Description of the plugin/theme
|
97 |
+
msgid ""
|
98 |
+
"Adds a new \"Visual Editor\" widget type based on the native WordPress "
|
99 |
+
"TinyMCE editor."
|
100 |
+
msgstr "یک ویرایشگر دیداری بر پایه ویرایشگر TinyMCE در بخش ابزارکهای وردپرس ایجاد میکند."
|
languages/black-studio-tinymce-widget-fr_FR.mo
CHANGED
Binary file
|
languages/black-studio-tinymce-widget-fr_FR.po
CHANGED
@@ -10,10 +10,10 @@ msgid ""
|
|
10 |
msgstr ""
|
11 |
"Project-Id-Version: Black Studio TinyMCE Widget\n"
|
12 |
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
13 |
-
"POT-Creation-Date: 2015-
|
14 |
-
"PO-Revision-Date: 2015-
|
15 |
"Last-Translator: Patricia BT\n"
|
16 |
-
"Language-Team: French (France) (http://www.transifex.com/
|
17 |
"MIME-Version: 1.0\n"
|
18 |
"Content-Type: text/plain; charset=UTF-8\n"
|
19 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
msgstr ""
|
11 |
"Project-Id-Version: Black Studio TinyMCE Widget\n"
|
12 |
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
13 |
+
"POT-Creation-Date: 2015-07-11 15:06:36+00:00\n"
|
14 |
+
"PO-Revision-Date: 2015-05-21 21:00+0000\n"
|
15 |
"Last-Translator: Patricia BT\n"
|
16 |
+
"Language-Team: French (France) (http://www.transifex.com/p/black-studio-tinymce-widget/language/fr_FR/)\n"
|
17 |
"MIME-Version: 1.0\n"
|
18 |
"Content-Type: text/plain; charset=UTF-8\n"
|
19 |
"Content-Transfer-Encoding: 8bit\n"
|
languages/black-studio-tinymce-widget-nl_NL.mo
CHANGED
Binary file
|
languages/black-studio-tinymce-widget-nl_NL.po
CHANGED
@@ -7,10 +7,10 @@ msgid ""
|
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: Black Studio TinyMCE Widget\n"
|
9 |
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
10 |
-
"POT-Creation-Date: 2015-
|
11 |
-
"PO-Revision-Date: 2015-
|
12 |
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
|
13 |
-
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: Black Studio TinyMCE Widget\n"
|
9 |
"Report-Msgid-Bugs-To: https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
10 |
+
"POT-Creation-Date: 2015-07-11 15:06:36+00:00\n"
|
11 |
+
"PO-Revision-Date: 2015-05-29 09:11+0000\n"
|
12 |
"Last-Translator: marcochiesi <marco@blackstudio.it>\n"
|
13 |
+
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/p/black-studio-tinymce-widget/language/nl_NL/)\n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
languages/black-studio-tinymce-widget.pot
CHANGED
@@ -5,7 +5,7 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Black Studio TinyMCE Widget 2.2.4\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
8 |
-
"POT-Creation-Date: 2015-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
5 |
"Project-Id-Version: Black Studio TinyMCE Widget 2.2.4\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://github.com/black-studio/black-studio-tinymce-widget/issues\n"
|
8 |
+
"POT-Creation-Date: 2015-07-11 15:06:36+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.blackstudio.it/en/wordpress-plugins/black-studio-tinymce
|
|
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.2
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
|
@@ -179,6 +179,12 @@ Plugin's data is stored in serialized format inside a record in the `wp_options`
|
|
179 |
|
180 |
== Changelog ==
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
= 2.2.4 (2015-05-14) =
|
183 |
* Fixed issue with WordPress Theme Customizer
|
184 |
* For developers: added ability to create subclasses of WP_Widget_Black_Studio_TinyMCE class (courtesy of [@andreamk](https://github.com/andreamk))
|
@@ -419,5 +425,5 @@ Plugin's data is stored in serialized format inside a record in the `wp_options`
|
|
419 |
|
420 |
== Upgrade Notice ==
|
421 |
|
422 |
-
= 2.2.
|
423 |
Version 2.x is a major update. If you are upgrading from version 1.x please ensure to backup your database before upgrading.
|
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.2
|
7 |
+
Stable tag: 2.2.5
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
|
179 |
|
180 |
== Changelog ==
|
181 |
|
182 |
+
= 2.2.5 (2015-07-11) =
|
183 |
+
* Fixed z-index issue on Styles dropdown in Customizer
|
184 |
+
* Added workaround to avoid glitches in Customizer
|
185 |
+
* Fixed extra slashes in inclusions using plugin_dir_path
|
186 |
+
* Added Persian translation (courtesy of WP-Translation.org team on Transifex)
|
187 |
+
|
188 |
= 2.2.4 (2015-05-14) =
|
189 |
* Fixed issue with WordPress Theme Customizer
|
190 |
* For developers: added ability to create subclasses of WP_Widget_Black_Studio_TinyMCE class (courtesy of [@andreamk](https://github.com/andreamk))
|
425 |
|
426 |
== Upgrade Notice ==
|
427 |
|
428 |
+
= 2.2.5 =
|
429 |
Version 2.x is a major update. If you are upgrading from version 1.x please ensure to backup your database before upgrading.
|