Black Studio TinyMCE Widget - Version 0.8

Version Description

  • Added support for Wordpress networks (Multisite)
Download this release

Release Info

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

Code changes from version 0.7 to 0.8

Files changed (2) hide show
  1. black-studio-tinymce-widget.php +14 -10
  2. readme.txt +5 -1
black-studio-tinymce-widget.php CHANGED
@@ -3,14 +3,14 @@
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.7
7
  Author: Black Studio
8
  Author URI: http://www.blackstudio.it
9
  License: GPL2
10
  */
11
 
12
  global $black_studio_tinymce_widget_version;
13
- $black_studio_tinymce_widget_version = "0.7"; // This is used internally - should be the same reported on the plugin header
14
 
15
  /* Widget class */
16
  class WP_Widget_Black_Studio_TinyMCE extends WP_Widget {
@@ -75,20 +75,24 @@ class WP_Widget_Black_Studio_TinyMCE extends WP_Widget {
75
  load_plugin_textdomain('black-studio-tinymce-widget', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
76
 
77
  /* Widget initialization */
78
- add_action('widgets_init', 'black_studio_tinymce_init');
79
- function black_studio_tinymce_init() {
80
  if ( !is_blog_installed() )
81
  return;
82
  register_widget('WP_Widget_Black_Studio_TinyMCE');
83
  }
84
 
85
  /* Add actions and filters (only in widgets admin page) */
86
- if ($pagenow == "widgets.php") {
87
- add_action( 'admin_head', 'black_studio_tinymce_load_tiny_mce');
88
- add_filter( 'tiny_mce_before_init', 'black_studio_tinymce_init_editor', 20);
89
- add_action( 'admin_print_scripts', 'black_studio_tinymce_scripts');
90
- add_action( 'admin_print_styles', 'black_studio_tinymce_styles');
91
- add_action( 'admin_print_footer_scripts', 'black_studio_tinymce_footer_scripts');
 
 
 
 
92
  }
93
 
94
  /* Instantiate tinyMCE editor */
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.8
7
  Author: Black Studio
8
  Author URI: http://www.blackstudio.it
9
  License: GPL2
10
  */
11
 
12
  global $black_studio_tinymce_widget_version;
13
+ $black_studio_tinymce_widget_version = "0.8"; // This is used internally - should be the same reported on the plugin header
14
 
15
  /* Widget class */
16
  class WP_Widget_Black_Studio_TinyMCE extends WP_Widget {
75
  load_plugin_textdomain('black-studio-tinymce-widget', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
76
 
77
  /* Widget initialization */
78
+ add_action('widgets_init', 'black_studio_tinymce_widgets_init');
79
+ function black_studio_tinymce_widgets_init() {
80
  if ( !is_blog_installed() )
81
  return;
82
  register_widget('WP_Widget_Black_Studio_TinyMCE');
83
  }
84
 
85
  /* Add actions and filters (only in widgets admin page) */
86
+ add_action('admin_init', 'black_studio_tinymce_admin_init');
87
+ function black_studio_tinymce_admin_init() {
88
+ global $pagenow;
89
+ if ($pagenow == "widgets.php") {
90
+ add_action( 'admin_head', 'black_studio_tinymce_load_tiny_mce');
91
+ add_filter( 'tiny_mce_before_init', 'black_studio_tinymce_init_editor', 20);
92
+ add_action( 'admin_print_scripts', 'black_studio_tinymce_scripts');
93
+ add_action( 'admin_print_styles', 'black_studio_tinymce_styles');
94
+ add_action( 'admin_print_footer_scripts', 'black_studio_tinymce_footer_scripts');
95
+ }
96
  }
97
 
98
  /* Instantiate tinyMCE editor */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.blackstudio.it/pagamento/
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.3-beta4
7
- Stable tag: 0.7
8
 
9
  Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
10
 
@@ -18,6 +18,7 @@ This plugin adds a WYSIWYG text widget based on the standard TinyMCE WordPress v
18
  * Insert images/videos from Wordpress Media Library
19
  * Insert links to existing Wordpress pages/posts
20
  * Fullscreen editing mode supported
 
21
  * No annoying ads/nag-screens
22
 
23
  == Installation ==
@@ -36,6 +37,9 @@ This section describes how to install the plugin and get it working.
36
 
37
  == Changelog ==
38
 
 
 
 
39
  = 0.7 =
40
  * Added compatibility for upcoming Wordpress 3.3 (currently beta 4)
41
  * Added compatibility for previous Wordpress 3.0 and 3.1
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.3-beta4
7
+ Stable tag: 0.8
8
 
9
  Adds a WYSIWYG widget based on the standard TinyMCE WordPress visual editor.
10
 
18
  * Insert images/videos from Wordpress Media Library
19
  * Insert links to existing Wordpress pages/posts
20
  * Fullscreen editing mode supported
21
+ * Wordpress networks (Multisite) supported
22
  * No annoying ads/nag-screens
23
 
24
  == Installation ==
37
 
38
  == Changelog ==
39
 
40
+ = 0.8 =
41
+ * Added support for Wordpress networks (Multisite)
42
+
43
  = 0.7 =
44
  * Added compatibility for upcoming Wordpress 3.3 (currently beta 4)
45
  * Added compatibility for previous Wordpress 3.0 and 3.1