Version Description
- Fixed Javascript issue with Media Library inserts in HTML mode
Download this release
Release Info
Developer | marcochiesi |
Plugin | Black Studio TinyMCE Widget |
Version | 0.6.2 |
Comparing to | |
See all releases |
Code changes from version 0.6.1 to 0.6.2
- black-studio-tinymce-widget.js +7 -2
- black-studio-tinymce-widget.php +1 -1
- readme.txt +4 -1
black-studio-tinymce-widget.js
CHANGED
@@ -28,6 +28,7 @@ function black_studio_deferred_show_visual_editor(id) {
|
|
28 |
});
|
29 |
}
|
30 |
|
|
|
31 |
jQuery(document).ready(function(){
|
32 |
// Event handler for widget opening button
|
33 |
jQuery('div.widget:has(textarea[id^=widget-black-studio-tinymce]) a.widget-action').live('click', function(){
|
@@ -52,7 +53,7 @@ jQuery(document).ready(function(){
|
|
52 |
jQuery('input[id^=widget-black-studio-tinymce][id$=type]', jQuery(this).parents('div.widget')).val('visual');
|
53 |
black_studio_activate_visual_editor(jQuery('textarea[id^=widget-black-studio-tinymce]', jQuery(this).parents('div.widget')).attr('id'));
|
54 |
return false;
|
55 |
-
|
56 |
// Event handler for html switch button
|
57 |
jQuery('a[id^=widget-black-studio-tinymce][id$=html]').live('click', function(){
|
58 |
jQuery(this).addClass('active');
|
@@ -60,5 +61,9 @@ jQuery(document).ready(function(){
|
|
60 |
jQuery('input[id^=widget-black-studio-tinymce][id$=type]', jQuery(this).parents('div.widget')).val('html');
|
61 |
black_studio_deactivate_visual_editor(jQuery('textarea[id^=widget-black-studio-tinymce]', jQuery(this).parents('div.widget')).attr('id'));
|
62 |
return false;
|
63 |
-
|
|
|
|
|
|
|
|
|
64 |
});
|
28 |
});
|
29 |
}
|
30 |
|
31 |
+
var edCanvas;
|
32 |
jQuery(document).ready(function(){
|
33 |
// Event handler for widget opening button
|
34 |
jQuery('div.widget:has(textarea[id^=widget-black-studio-tinymce]) a.widget-action').live('click', function(){
|
53 |
jQuery('input[id^=widget-black-studio-tinymce][id$=type]', jQuery(this).parents('div.widget')).val('visual');
|
54 |
black_studio_activate_visual_editor(jQuery('textarea[id^=widget-black-studio-tinymce]', jQuery(this).parents('div.widget')).attr('id'));
|
55 |
return false;
|
56 |
+
});
|
57 |
// Event handler for html switch button
|
58 |
jQuery('a[id^=widget-black-studio-tinymce][id$=html]').live('click', function(){
|
59 |
jQuery(this).addClass('active');
|
61 |
jQuery('input[id^=widget-black-studio-tinymce][id$=type]', jQuery(this).parents('div.widget')).val('html');
|
62 |
black_studio_deactivate_visual_editor(jQuery('textarea[id^=widget-black-studio-tinymce]', jQuery(this).parents('div.widget')).attr('id'));
|
63 |
return false;
|
64 |
+
});
|
65 |
+
// Set edCanvas variable when adding from media library (necessary when used in HTML mode)
|
66 |
+
jQuery('.editor_media_buttons a').live('click', function(){
|
67 |
+
edCanvas = jQuery('textarea[id^=widget-black-studio-tinymce]', jQuery(this).parents('div.widget')).get();
|
68 |
+
});
|
69 |
});
|
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: 0.6.
|
7 |
Author: Black Studio
|
8 |
Author URI: http://www.blackstudio.it
|
9 |
License: GPL2
|
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: 0.6.2
|
7 |
Author: Black Studio
|
8 |
Author URI: http://www.blackstudio.it
|
9 |
License: GPL2
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.blackstudio.it/pagamento/
|
|
4 |
Tags: wysiwyg, widget, tinymce, editor, 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, visual editor widget
|
5 |
Requires at least: 3.2.0
|
6 |
Tested up to: 3.2.1
|
7 |
-
Stable tag: 0.6.
|
8 |
|
9 |
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
|
10 |
|
@@ -34,6 +34,9 @@ This section describes how to install the plugin and get it working.
|
|
34 |
|
35 |
== Changelog ==
|
36 |
|
|
|
|
|
|
|
37 |
= 0.6.1 =
|
38 |
* Fixed Javascript issue preventing editor to show up in some cases
|
39 |
|
4 |
Tags: wysiwyg, widget, tinymce, editor, 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, visual editor widget
|
5 |
Requires at least: 3.2.0
|
6 |
Tested up to: 3.2.1
|
7 |
+
Stable tag: 0.6.2
|
8 |
|
9 |
Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
|
10 |
|
34 |
|
35 |
== Changelog ==
|
36 |
|
37 |
+
= 0.6.2 =
|
38 |
+
* Fixed Javascript issue with Media Library inserts in HTML mode
|
39 |
+
|
40 |
= 0.6.1 =
|
41 |
* Fixed Javascript issue preventing editor to show up in some cases
|
42 |
|