Black Studio TinyMCE Widget - Version 1.3.3

Version Description

  • Fixed visualization bug upon widget saving
  • Enhanced support WordPress 3.9 Theme Customizer (live edit)
Download this release

Release Info

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

Code changes from version 1.3.2 to 1.3.3

black-studio-tinymce-widget.dev.js CHANGED
@@ -18,6 +18,12 @@ var wpActiveEditor;
18
} catch( e ) {
19
alert( e );
20
}
21
}
22
}
23
// Deactivate visual editor
@@ -35,11 +41,11 @@ var wpActiveEditor;
35
function black_studio_open_deferred_activate_visual_editor( id ) {
36
$( 'div.widget-inside:has(#' + id + ') input[id^=widget-black-studio-tinymce][id$=type][value=visual]' ).each(function() {
37
// If textarea is visible and animation/ajax has completed (or in accessibility mode) then trigger a click to Visual button and enable the editor
38
- if ( $('div.widget:has(#' + id + ') :animated' ).size() == 0 && tinyMCE.get( id ) != null && $( '#' + id ).is( ':visible' ) ) {
39
$( 'a[id^=widget-black-studio-tinymce][id$=visual]', $( this ).closest( 'div.widget-inside' ) ).click();
40
}
41
// Otherwise wait and retry later (animation ongoing)
42
- else if ( tinyMCE.get( id ) != null ) {
43
setTimeout(function() {
44
black_studio_open_deferred_activate_visual_editor( id );
45
id = null;
@@ -56,11 +62,11 @@ var wpActiveEditor;
56
function black_studio_ajax_deferred_activate_visual_editor( id ) {
57
$( 'div.widget-inside:has(#' + id + ') input[id^=widget-black-studio-tinymce][id$=type][value=visual]' ).each(function() {
58
// If textarea is visible and animation/ajax has completed then trigger a click to Visual button and enable the editor
59
- if ( $.active == 0 && tinyMCE.get( id ) != null && $( '#' + id ).is( ':visible' ) ) {
60
$( 'a[id^=widget-black-studio-tinymce][id$=visual]', $( this ).closest( 'div.widget-inside' ) ).click();
61
}
62
// Otherwise wait and retry later (animation ongoing)
63
- else if ( $( 'div.widget:has(#' + id + ') div.widget-inside' ).is( ':visible' ) && tinyMCE.get( id ) != null ) {
64
setTimeout(function() {
65
black_studio_ajax_deferred_activate_visual_editor( id );
66
id=null;
@@ -82,7 +88,7 @@ var wpActiveEditor;
82
$( 'input[name=savewidget]', $widget ).on( 'click', function( event ) {
83
var $widget = $( this ).closest( 'div.widget' )
84
var $text_area = $( 'textarea[id^=widget-black-studio-tinymce]', $widget );
85
- if ( typeof tinyMCE.get( $text_area.attr( 'id' ) ) == 'object') {
86
black_studio_deactivate_visual_editor( $text_area.attr( 'id' ) );
87
}
88
// Event handler for ajax complete
@@ -100,7 +106,7 @@ var wpActiveEditor;
100
$( 'div.widget[id*=black-studio-tinymce] input[name=savewidget]').on( 'click', function( event ) {
101
var $widget = $( this ).closest( 'div.widget' )
102
var $text_area = $( 'textarea[id^=widget-black-studio-tinymce]', $widget );
103
- if ( typeof tinyMCE.get( $text_area.attr( 'id' ) ) == 'object') {
104
black_studio_deactivate_visual_editor( $text_area.attr( 'id' ) );
105
}
106
// Event handler for ajax complete
18
} catch( e ) {
19
alert( e );
20
}
21
+ if ( typeof tinyMCE.get( id ).on == 'function' ) {
22
+ tinyMCE.get( id ).on( 'keyup change', function() {
23
+ var content = tinyMCE.get( id ).getContent();
24
+ $( 'textarea#' + id ).val( content ).change();
25
+ });
26
+ }
27
}
28
}
29
// Deactivate visual editor
41
function black_studio_open_deferred_activate_visual_editor( id ) {
42
$( 'div.widget-inside:has(#' + id + ') input[id^=widget-black-studio-tinymce][id$=type][value=visual]' ).each(function() {
43
// If textarea is visible and animation/ajax has completed (or in accessibility mode) then trigger a click to Visual button and enable the editor
44
+ if ( $('div.widget:has(#' + id + ') :animated' ).size() == 0 && tinyMCE.get( id ) == null && $( '#' + id ).is( ':visible' ) ) {
45
$( 'a[id^=widget-black-studio-tinymce][id$=visual]', $( this ).closest( 'div.widget-inside' ) ).click();
46
}
47
// Otherwise wait and retry later (animation ongoing)
48
+ else if ( tinyMCE.get( id ) == null ) {
49
setTimeout(function() {
50
black_studio_open_deferred_activate_visual_editor( id );
51
id = null;
62
function black_studio_ajax_deferred_activate_visual_editor( id ) {
63
$( 'div.widget-inside:has(#' + id + ') input[id^=widget-black-studio-tinymce][id$=type][value=visual]' ).each(function() {
64
// If textarea is visible and animation/ajax has completed then trigger a click to Visual button and enable the editor
65
+ if ( $.active == 0 && tinyMCE.get( id ) == null && $( '#' + id ).is( ':visible' ) ) {
66
$( 'a[id^=widget-black-studio-tinymce][id$=visual]', $( this ).closest( 'div.widget-inside' ) ).click();
67
}
68
// Otherwise wait and retry later (animation ongoing)
69
+ else if ( $( 'div.widget:has(#' + id + ') div.widget-inside' ).is( ':visible' ) && tinyMCE.get( id ) == null ) {
70
setTimeout(function() {
71
black_studio_ajax_deferred_activate_visual_editor( id );
72
id=null;
88
$( 'input[name=savewidget]', $widget ).on( 'click', function( event ) {
89
var $widget = $( this ).closest( 'div.widget' )
90
var $text_area = $( 'textarea[id^=widget-black-studio-tinymce]', $widget );
91
+ if ( tinyMCE.get( $text_area.attr( 'id' ) ) != null ) {
92
black_studio_deactivate_visual_editor( $text_area.attr( 'id' ) );
93
}
94
// Event handler for ajax complete
106
$( 'div.widget[id*=black-studio-tinymce] input[name=savewidget]').on( 'click', function( event ) {
107
var $widget = $( this ).closest( 'div.widget' )
108
var $text_area = $( 'textarea[id^=widget-black-studio-tinymce]', $widget );
109
+ if ( tinyMCE.get( $text_area.attr( 'id' ) ) != null ) {
110
black_studio_deactivate_visual_editor( $text_area.attr( 'id' ) );
111
}
112
// Event handler for ajax complete
black-studio-tinymce-widget.js CHANGED
@@ -1 +1 @@
1
- var tinyMCEPreInit;var wpActiveEditor;(function(c){function d(g){c("#"+g).addClass("mceEditor");if(typeof tinyMCE=="object"&&typeof tinyMCE.execCommand=="function"){b(g);tinyMCEPreInit.mceInit[g]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"];tinyMCEPreInit.mceInit[g]["selector"]="#"+g;try{tinymce.init(tinymce.extend({},tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[g]));tinyMCE.execCommand("mceAddControl",false,g)}catch(f){alert(f)}}}function b(g){if(typeof tinyMCE=="object"&&typeof tinyMCE.execCommand=="function"){if(tinyMCE.get(g)!=null&&typeof tinyMCE.get(g).getContent=="function"){var f=tinyMCE.get(g).getContent();tinyMCE.get(g).remove();c("textarea#"+g).val(f)}}}function a(f){c("div.widget-inside:has(#"+f+") input[id^=widget-black-studio-tinymce][id$=type][value=visual]").each(function(){if(c("div.widget:has(#"+f+") :animated").size()==0&&tinyMCE.get(f)!=null&&c("#"+f).is(":visible")){c("a[id^=widget-black-studio-tinymce][id$=visual]",c(this).closest("div.widget-inside")).click()}else{if(tinyMCE.get(f)!=null){setTimeout(function(){a(f);f=null},100)}else{c("a[id^=widget-black-studio-tinymce][id$=visual]",c(this).closest("div.widget-inside")).click()}}})}function e(f){c("div.widget-inside:has(#"+f+") input[id^=widget-black-studio-tinymce][id$=type][value=visual]").each(function(){if(c.active==0&&tinyMCE.get(f)!=null&&c("#"+f).is(":visible")){c("a[id^=widget-black-studio-tinymce][id$=visual]",c(this).closest("div.widget-inside")).click()}else{if(c("div.widget:has(#"+f+") div.widget-inside").is(":visible")&&tinyMCE.get(f)!=null){setTimeout(function(){e(f);f=null},100)}}})}c(document).ready(function(){c(document).on("click","div.widget:has(textarea[id^=widget-black-studio-tinymce]) .widget-title, div.widget:has(textarea[id^=widget-black-studio-tinymce]) a.widget-action",function(g){var i=c(this).closest("div.widget");var h=c("textarea[id^=widget-black-studio-tinymce]",i);c("input[name=savewidget]",i).on("click",function(j){var l=c(this).closest("div.widget");var k=c("textarea[id^=widget-black-studio-tinymce]",l);if(typeof tinyMCE.get(k.attr("id"))=="object"){b(k.attr("id"))}c(this).unbind("ajaxSuccess").ajaxSuccess(function(n,o,m){var p=c("textarea[id^=widget-black-studio-tinymce]",c(this).closest("div.widget-inside"));e(p.attr("id"))})});c("#wpbody-content").css("overflow","visible");i.css("position","relative").css("z-index","100");a(h.attr("id"));c(".insert-media",i).data("editor",h.attr("id"))});c("div.widget[id*=black-studio-tinymce] input[name=savewidget]").on("click",function(g){var i=c(this).closest("div.widget");var h=c("textarea[id^=widget-black-studio-tinymce]",i);if(typeof tinyMCE.get(h.attr("id"))=="object"){b(h.attr("id"))}c(this).unbind("ajaxSuccess").ajaxSuccess(function(k,l,j){var m=c("textarea[id^=widget-black-studio-tinymce]",c(this).closest("div.widget-inside"));e(m.attr("id"))})});c(document).on("click","a[id^=widget-black-studio-tinymce][id$=visual]",function(g){var h=c(this).closest("div.widget-inside,div.panel-dialog");c("input[id^=widget-black-studio-tinymce][id$=type]",h).val("visual");c(this).addClass("active");c("a[id^=widget-black-studio-tinymce][id$=html]",h).removeClass("active");d(c("textarea[id^=widget-black-studio-tinymce]",h).attr("id"))});c(document).on("click","a[id^=widget-black-studio-tinymce][id$=html]",function(g){var h=c(this).closest("div.widget-inside,div.panel-dialog");c("input[id^=widget-black-studio-tinymce][id$=type]",h).val("html");c(this).addClass("active");c("a[id^=widget-black-studio-tinymce][id$=visual]",h).removeClass("active");b(c("textarea[id^=widget-black-studio-tinymce]",h).attr("id"))});c(document).on("click",".editor_media_buttons a",function(){var g=c(this).closest("div.widget-inside");wpActiveEditor=c("textarea[id^=widget-black-studio-tinymce]",g).attr("id")});if(c("body.widgets_access").size()>0){var f=c("textarea[id^=widget-black-studio-tinymce]");a(f.attr("id"))}})})(jQuery);
1
+ var tinyMCEPreInit;var wpActiveEditor;(function(c){function d(g){c("#"+g).addClass("mceEditor");if(typeof tinyMCE=="object"&&typeof tinyMCE.execCommand=="function"){b(g);tinyMCEPreInit.mceInit[g]=tinyMCEPreInit.mceInit["black-studio-tinymce-widget"];tinyMCEPreInit.mceInit[g]["selector"]="#"+g;try{tinymce.init(tinymce.extend({},tinyMCEPreInit.mceInit["black-studio-tinymce-widget"],tinyMCEPreInit.mceInit[g]));tinyMCE.execCommand("mceAddControl",false,g)}catch(f){alert(f)}if(typeof tinyMCE.get(g).on=="function"){tinyMCE.get(g).on("keyup change",function(){var h=tinyMCE.get(g).getContent();c("textarea#"+g).val(h).change()})}}}function b(g){if(typeof tinyMCE=="object"&&typeof tinyMCE.execCommand=="function"){if(tinyMCE.get(g)!=null&&typeof tinyMCE.get(g).getContent=="function"){var f=tinyMCE.get(g).getContent();tinyMCE.get(g).remove();c("textarea#"+g).val(f)}}}function a(f){c("div.widget-inside:has(#"+f+") input[id^=widget-black-studio-tinymce][id$=type][value=visual]").each(function(){if(c("div.widget:has(#"+f+") :animated").size()==0&&tinyMCE.get(f)==null&&c("#"+f).is(":visible")){c("a[id^=widget-black-studio-tinymce][id$=visual]",c(this).closest("div.widget-inside")).click()}else{if(tinyMCE.get(f)==null){setTimeout(function(){a(f);f=null},100)}else{c("a[id^=widget-black-studio-tinymce][id$=visual]",c(this).closest("div.widget-inside")).click()}}})}function e(f){c("div.widget-inside:has(#"+f+") input[id^=widget-black-studio-tinymce][id$=type][value=visual]").each(function(){if(c.active==0&&tinyMCE.get(f)==null&&c("#"+f).is(":visible")){c("a[id^=widget-black-studio-tinymce][id$=visual]",c(this).closest("div.widget-inside")).click()}else{if(c("div.widget:has(#"+f+") div.widget-inside").is(":visible")&&tinyMCE.get(f)==null){setTimeout(function(){e(f);f=null},100)}}})}c(document).ready(function(){c(document).on("click","div.widget:has(textarea[id^=widget-black-studio-tinymce]) .widget-title, div.widget:has(textarea[id^=widget-black-studio-tinymce]) a.widget-action",function(g){var i=c(this).closest("div.widget");var h=c("textarea[id^=widget-black-studio-tinymce]",i);c("input[name=savewidget]",i).on("click",function(j){var l=c(this).closest("div.widget");var k=c("textarea[id^=widget-black-studio-tinymce]",l);if(tinyMCE.get(k.attr("id"))!=null){b(k.attr("id"))}c(this).unbind("ajaxSuccess").ajaxSuccess(function(n,o,m){var p=c("textarea[id^=widget-black-studio-tinymce]",c(this).closest("div.widget-inside"));e(p.attr("id"))})});c("#wpbody-content").css("overflow","visible");i.css("position","relative").css("z-index","100");a(h.attr("id"));c(".insert-media",i).data("editor",h.attr("id"))});c("div.widget[id*=black-studio-tinymce] input[name=savewidget]").on("click",function(g){var i=c(this).closest("div.widget");var h=c("textarea[id^=widget-black-studio-tinymce]",i);if(tinyMCE.get(h.attr("id"))!=null){b(h.attr("id"))}c(this).unbind("ajaxSuccess").ajaxSuccess(function(k,l,j){var m=c("textarea[id^=widget-black-studio-tinymce]",c(this).closest("div.widget-inside"));e(m.attr("id"))})});c(document).on("click","a[id^=widget-black-studio-tinymce][id$=visual]",function(g){var h=c(this).closest("div.widget-inside,div.panel-dialog");c("input[id^=widget-black-studio-tinymce][id$=type]",h).val("visual");c(this).addClass("active");c("a[id^=widget-black-studio-tinymce][id$=html]",h).removeClass("active");d(c("textarea[id^=widget-black-studio-tinymce]",h).attr("id"))});c(document).on("click","a[id^=widget-black-studio-tinymce][id$=html]",function(g){var h=c(this).closest("div.widget-inside,div.panel-dialog");c("input[id^=widget-black-studio-tinymce][id$=type]",h).val("html");c(this).addClass("active");c("a[id^=widget-black-studio-tinymce][id$=visual]",h).removeClass("active");b(c("textarea[id^=widget-black-studio-tinymce]",h).attr("id"))});c(document).on("click",".editor_media_buttons a",function(){var g=c(this).closest("div.widget-inside");wpActiveEditor=c("textarea[id^=widget-black-studio-tinymce]",g).attr("id")});if(c("body.widgets_access").size()>0){var f=c("textarea[id^=widget-black-studio-tinymce]");a(f.attr("id"))}})})(jQuery);
black-studio-tinymce-widget.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Black Studio TinyMCE Widget
4
Plugin URI: http://wordpress.org/extend/plugins/black-studio-tinymce-widget/
5
Description: Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
6
- Version: 1.3.2
7
Author: Black Studio
8
Author URI: http://www.blackstudio.it
9
License: GPL2
@@ -11,7 +11,7 @@ License: GPL2
11
12
global $black_studio_tinymce_widget_version;
13
global $black_studio_tinymce_widget_dev_mode;
14
- $black_studio_tinymce_widget_version = "1.3.2"; // This is used internally - should be the same reported on the plugin header
15
$black_studio_tinymce_widget_dev_mode = false;
16
17
/* Widget class */
3
Plugin Name: Black Studio TinyMCE Widget
4
Plugin URI: http://wordpress.org/extend/plugins/black-studio-tinymce-widget/
5
Description: Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
6
+ Version: 1.3.3
7
Author: Black Studio
8
Author URI: http://www.blackstudio.it
9
License: GPL2
11
12
global $black_studio_tinymce_widget_version;
13
global $black_studio_tinymce_widget_dev_mode;
14
+ $black_studio_tinymce_widget_version = "1.3.3"; // This is used internally - should be the same reported on the plugin header
15
$black_studio_tinymce_widget_dev_mode = false;
16
17
/* Widget class */
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.0
6
Tested up to: 3.9
7
- Stable tag: 1.3.2
8
9
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
10
@@ -15,11 +15,11 @@ This plugin adds a WYSIWYG text widget based on the standard TinyMCE WordPress v
15
16
* Add rich text widgets to your sidebar using visual editor
17
* Switch between Visual mode and HTML mode
18
- * Insert images/videos from Wordpress Media Library
19
- * Insert links to existing Wordpress pages/posts
20
* Fullscreen editing mode supported
21
* Widgets accessibility mode supported
22
- * Wordpress networks (Multi-site) supported
23
* WPML (Multi-language) supported
24
25
= Links =
@@ -57,13 +57,13 @@ Please post a message in the [Support forum](http://wordpress.org/support/plugin
57
* Description of the problem and steps to reproduce it
58
* Error messages if any (in particular in browser's javascript console)
59
* Browser / OS in use
60
- * Wordpress version in use
61
- * Wordpress theme in use
62
- * List of other Wordpress plugins installed
63
64
= How to embed video and other contents =
65
66
- Wordpress has a nice [autoembed feature](http://codex.wordpress.org/Embeds) that allows you to embed videos and other stuff in an easy way, by just putting the URL in the content area. This is also possible for widgets created with this plugin, but for best results it is recommended to put the URL inside an `[embed]` shortcode. Example: `[embed]http://www.youtube.com/watch?v=XXXXXXXXXXX[/embed]`. Ensure that the URL has not an hyperlink on it.
67
Alternatively, if you don't want to use `[embed]` shortcode, ensure that the URL is not surrounded by a `<p>` tag, which is added automatically by the WYSIWYG editor (switch to HTML mode to remove enclosing `<p>` tags).
68
69
= Widgets disappeared after migrating or changing the site URL =
@@ -72,9 +72,13 @@ When dealing with a WordPress site URL change it is necessary to face the "seria
72
73
== Changelog ==
74
75
= 1.3.2 =
76
- * Fixed compatibility issue with Wordpress 3.9 Beta 3
77
- * Added support for Wordpress 3.9 Theme Customizer
78
* Added swedish translation (Contributor: macsolve)
79
* Updated installation documentation
80
* Updated FAQ
@@ -84,19 +88,19 @@ When dealing with a WordPress site URL change it is necessary to face the "seria
84
* Fixed compatibility issue with FirmaSite Theme Enhancer plugin
85
86
= 1.3.0 =
87
- * Added support for smilies conversion (based on the general Wordpress option)
88
- * Updated styling to match the new default Wordpress editor appearence
89
- * Refactoring of PHP and JS code to be compliant to Wordpress coding standard
90
- * Fixed compatibility issue with Wordpress 3.9 alpha and TinyMCE 4.0
91
* Fixed compatibility issue with Jetpack / After the Deadline plugin
92
* Fixed editor behavior on widget title clicks
93
- * Fixed CSS issue affecting Firefox on Wordpress 3.8
94
* Added finnish translation (Contributor: Timo Leiniƶ)
95
* Better handling of "More tag" button
96
* Included JS dev version
97
98
= 1.2.0 =
99
- * Fixed issue with Wordpress widgets accessibility mode
100
* Fixed compatibility issue with WPML plugin generating an error in debug mode
101
* Fixed compatibility issue with WP Page Widget plugin
102
* Added slovak translation (Contributor: Branco Radenovich - [WebHostingGeeks.com](http://webhostinggeeks.com/user-reviews/))
@@ -106,8 +110,8 @@ When dealing with a WordPress site URL change it is necessary to face the "seria
106
* Fixed editor issue when dragging widgets from a sidebar to another
107
108
= 1.1.0 =
109
- * Compatibility fixes for upcoming Wordpress 3.5
110
- * Added support for the new Wordpress media library dialog
111
* Enhanced javascript event handling using jquery .on(...) method
112
113
= 1.0.0 =
@@ -142,14 +146,14 @@ When dealing with a WordPress site URL change it is necessary to face the "seria
142
* Added support for shortcodes in widget text
143
144
= 0.8.1 =
145
- * Fixed issue when inserting images on Wordpress 3.3
146
147
= 0.8 =
148
- * Added support for Wordpress networks (Multisite)
149
150
= 0.7 =
151
- * Added compatibility for upcoming Wordpress 3.3
152
- * Added compatibility for previous Wordpress 3.0 and 3.1
153
* Optimization/compression of javascript code
154
155
= 0.6.5 =
@@ -163,13 +167,13 @@ When dealing with a WordPress site URL change it is necessary to face the "seria
163
* Fixed javascript issue preventing the plugin from working correctly with some browsers
164
165
= 0.6.2 =
166
- * Fixed javascript issue with Wordpress Media Library inserts in HTML mode
167
168
= 0.6.1 =
169
* Fixed javascript issue preventing editor to show up in some cases
170
171
= 0.6 =
172
- * Added support for Wordpress Media Library
173
174
= 0.5 =
175
* First Beta release
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.0
6
Tested up to: 3.9
7
+ Stable tag: 1.3.3
8
9
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
10
15
16
* Add rich text widgets to your sidebar using visual editor
17
* Switch between Visual mode and HTML mode
18
+ * Insert images/videos from WordPress Media Library
19
+ * Insert links to existing WordPress pages/posts
20
* Fullscreen editing mode supported
21
* Widgets accessibility mode supported
22
+ * WordPress networks (Multi-site) supported
23
* WPML (Multi-language) supported
24
25
= Links =
57
* Description of the problem and steps to reproduce it
58
* Error messages if any (in particular in browser's javascript console)
59
* Browser / OS in use
60
+ * WordPress version in use
61
+ * WordPress theme in use
62
+ * List of other WordPress plugins installed
63
64
= How to embed video and other contents =
65
66
+ WordPress has a nice [autoembed feature](http://codex.wordpress.org/Embeds) that allows you to embed videos and other stuff in an easy way, by just putting the URL in the content area. This is also possible for widgets created with this plugin, but for best results it is recommended to put the URL inside an `[embed]` shortcode. Example: `[embed]http://www.youtube.com/watch?v=XXXXXXXXXXX[/embed]`. Ensure that the URL has not an hyperlink on it.
67
Alternatively, if you don't want to use `[embed]` shortcode, ensure that the URL is not surrounded by a `<p>` tag, which is added automatically by the WYSIWYG editor (switch to HTML mode to remove enclosing `<p>` tags).
68
69
= Widgets disappeared after migrating or changing the site URL =
72
73
== Changelog ==
74
75
+ = 1.3.3 =
76
+ * Fixed visualization bug upon widget saving
77
+ * Enhanced support WordPress 3.9 Theme Customizer (live edit)
78
+
79
= 1.3.2 =
80
+ * Fixed compatibility issue with WordPress 3.9 Beta 3
81
+ * Added support for WordPress 3.9 Theme Customizer
82
* Added swedish translation (Contributor: macsolve)
83
* Updated installation documentation
84
* Updated FAQ
88
* Fixed compatibility issue with FirmaSite Theme Enhancer plugin
89
90
= 1.3.0 =
91
+ * Added support for smilies conversion (based on the general WordPress option)
92
+ * Updated styling to match the new default WordPress editor appearence
93
+ * Refactoring of PHP and JS code to be compliant to WordPress coding standard
94
+ * Fixed compatibility issue with WordPress 3.9 alpha and TinyMCE 4.0
95
* Fixed compatibility issue with Jetpack / After the Deadline plugin
96
* Fixed editor behavior on widget title clicks
97
+ * Fixed CSS issue affecting Firefox on WordPress 3.8
98
* Added finnish translation (Contributor: Timo Leiniƶ)
99
* Better handling of "More tag" button
100
* Included JS dev version
101
102
= 1.2.0 =
103
+ * Fixed issue with WordPress widgets accessibility mode
104
* Fixed compatibility issue with WPML plugin generating an error in debug mode
105
* Fixed compatibility issue with WP Page Widget plugin
106
* Added slovak translation (Contributor: Branco Radenovich - [WebHostingGeeks.com](http://webhostinggeeks.com/user-reviews/))
110
* Fixed editor issue when dragging widgets from a sidebar to another
111
112
= 1.1.0 =
113
+ * Compatibility fixes for upcoming WordPress 3.5
114
+ * Added support for the new WordPress media library dialog
115
* Enhanced javascript event handling using jquery .on(...) method
116
117
= 1.0.0 =
146
* Added support for shortcodes in widget text
147
148
= 0.8.1 =
149
+ * Fixed issue when inserting images on WordPress 3.3
150
151
= 0.8 =
152
+ * Added support for WordPress networks (Multisite)
153
154
= 0.7 =
155
+ * Added compatibility for upcoming WordPress 3.3
156
+ * Added compatibility for previous WordPress 3.0 and 3.1
157
* Optimization/compression of javascript code
158
159
= 0.6.5 =
167
* Fixed javascript issue preventing the plugin from working correctly with some browsers
168
169
= 0.6.2 =
170
+ * Fixed javascript issue with WordPress Media Library inserts in HTML mode
171
172
= 0.6.1 =
173
* Fixed javascript issue preventing editor to show up in some cases
174
175
= 0.6 =
176
+ * Added support for WordPress Media Library
177
178
= 0.5 =
179
* First Beta release