Version Description
Fixed a bug preventing TinyMCE from importing CSS classes from editor-style.css.
Download this release
Release Info
Developer | azaozz |
Plugin | TinyMCE Advanced |
Version | 3.4.5.1 |
Comparing to | |
See all releases |
Code changes from version 3.4.5 to 3.4.5.1
- readme.txt +7 -11
- tinymce-advanced.php +6 -4
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: wysiwyg, formatting, tinymce, write, editor
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.3
|
7 |
-
Stable tag: 3.4.5
|
8 |
|
9 |
Enables the advanced features of TinyMCE, the WordPress WYSIWYG editor.
|
10 |
|
@@ -21,26 +21,22 @@ This plugin adds 16 plugins to [TinyMCE](http://tinymce.moxiecode.com/): Advance
|
|
21 |
|
22 |
* Imports the CSS classes from the theme stylesheet and add them to a drop-down list.
|
23 |
* Support for making and editing tables.
|
24 |
-
*
|
25 |
* Advanced list and image dialogs that offer a lot of options.
|
26 |
-
* Search and Replace
|
27 |
* Support for XHTML specific tags and for (div based) layers.
|
28 |
|
29 |
|
30 |
== Installation ==
|
31 |
|
32 |
-
|
33 |
-
|
34 |
-
1. Download.
|
35 |
-
2. Unzip.
|
36 |
-
3. Upload to the plugins directory.
|
37 |
-
4. Activate the plugin.
|
38 |
-
5. Set your preferences at "Settings - TinyMCE Advanced".
|
39 |
-
6. Clear your browser cache.
|
40 |
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
44 |
= 3.4.5 =
|
45 |
Updated for WordPress 3.3 or later and TinyMCE 3.4.5.
|
46 |
|
4 |
Tags: wysiwyg, formatting, tinymce, write, editor
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.3
|
7 |
+
Stable tag: 3.4.5.1
|
8 |
|
9 |
Enables the advanced features of TinyMCE, the WordPress WYSIWYG editor.
|
10 |
|
21 |
|
22 |
* Imports the CSS classes from the theme stylesheet and add them to a drop-down list.
|
23 |
* Support for making and editing tables.
|
24 |
+
* Editing in-line css styles.
|
25 |
* Advanced list and image dialogs that offer a lot of options.
|
26 |
+
* Search and Replace in the editor.
|
27 |
* Support for XHTML specific tags and for (div based) layers.
|
28 |
|
29 |
|
30 |
== Installation ==
|
31 |
|
32 |
+
Best is to install directly from WordPress. If manual installation is required, please make sure all of the plugin files are in a folder named "tinymce-advanced" (not two nested folders) in the plugin directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
|
35 |
== Changelog ==
|
36 |
|
37 |
+
= 3.4.5.1 =
|
38 |
+
Fixed a bug preventing TinyMCE from importing CSS classes from editor-style.css.
|
39 |
+
|
40 |
= 3.4.5 =
|
41 |
Updated for WordPress 3.3 or later and TinyMCE 3.4.5.
|
42 |
|
tinymce-advanced.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: TinyMCE Advanced
|
4 |
Plugin URI: http://www.laptoptips.ca/projects/tinymce-advanced/
|
5 |
Description: Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.
|
6 |
-
Version: 3.4.5
|
7 |
Author: Andrew Ozz
|
8 |
Author URI: http://www.laptoptips.ca/
|
9 |
|
@@ -124,9 +124,6 @@ if ( ! function_exists('tadv_mce_btns') ) {
|
|
124 |
$tadv_btns1 = array_merge( $tadv_btns1, $orig );
|
125 |
}
|
126 |
|
127 |
-
if ( $tadv_options['editorstyle'] == '1' )
|
128 |
-
add_editor_style(); // import user created editor-style.css
|
129 |
-
|
130 |
return $tadv_btns1;
|
131 |
}
|
132 |
add_filter( 'mce_buttons', 'tadv_mce_btns', 999 );
|
@@ -251,6 +248,11 @@ if ( typeof(jQuery) != 'undefined' ) {
|
|
251 |
if ( ! function_exists('tadv_load_plugins') ) {
|
252 |
function tadv_load_plugins($plug) {
|
253 |
$tadv_plugins = get_option('tadv_plugins');
|
|
|
|
|
|
|
|
|
|
|
254 |
if ( empty($tadv_plugins) || !is_array($tadv_plugins) )
|
255 |
return $plug;
|
256 |
|
3 |
Plugin Name: TinyMCE Advanced
|
4 |
Plugin URI: http://www.laptoptips.ca/projects/tinymce-advanced/
|
5 |
Description: Enables advanced features and plugins in TinyMCE, the visual editor in WordPress.
|
6 |
+
Version: 3.4.5.1
|
7 |
Author: Andrew Ozz
|
8 |
Author URI: http://www.laptoptips.ca/
|
9 |
|
124 |
$tadv_btns1 = array_merge( $tadv_btns1, $orig );
|
125 |
}
|
126 |
|
|
|
|
|
|
|
127 |
return $tadv_btns1;
|
128 |
}
|
129 |
add_filter( 'mce_buttons', 'tadv_mce_btns', 999 );
|
248 |
if ( ! function_exists('tadv_load_plugins') ) {
|
249 |
function tadv_load_plugins($plug) {
|
250 |
$tadv_plugins = get_option('tadv_plugins');
|
251 |
+
$tadv_options = get_option('tadv_options', array());
|
252 |
+
|
253 |
+
if ( isset($tadv_options['editorstyle']) && $tadv_options['editorstyle'] == '1' )
|
254 |
+
add_editor_style(); // import user created editor-style.css
|
255 |
+
|
256 |
if ( empty($tadv_plugins) || !is_array($tadv_plugins) )
|
257 |
return $plug;
|
258 |
|